MyBB Community Forums

Full Version: #logo: a few questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can I not change the font color in #logo? 
I've changed the background, added a border, changed the size of the font, but every time I try to change the font color (to #fff) it stays the same.
Also, how can I center THE PROSE STYLIST from top and bottom (not left to right)? And can I change the font size of THE PROSE STYLIST without also changing the size of Portal - Search - ETC
https://theprosestylist.net/
Also, I hired someone to do a few changes to my site before I gained enough courage to muck about with it on my own. THE PROSE STYLIST in #logo (In dark mode it is how I typed it into Config-Settings-Site Details) stays in all caps even though I changed it in Config-Settings-Site Details. Why? How do I change it to The Prose Stylist?
Thank you for your time.
Smile
Yes you can change the font-color. You see if you change font color to #fff, it will change the font color to ONLY classed where that particular element is not having defined color. For example - Links will have a class of their own i.e. <a></a>

For the #logo, try to add !important to color attribute. (Though it is more of a hack). Ideally you should define the class and assign color through that way so that it overrides the main class.
In your header template, add a class to your a tag, for example:
<a href="https://theprosestylist.net/index.php" class="logocolor">THE PROSE STYLIST</a>

In global.css, add:
.logocolor {
    color: #fff !important;
font-size: 25px !important;
}

This will color and change font size of your logo.
Thank you for the replies.
1. I changed the color to #ffffff and added !important and saved/refreshed and no change.
2. I copied and pasted

Quote:.logocolor {
    color: #fff !important;
font-size: 25px !important;
}

into advanced mode, saved/refreshed, and no change.
What am I doing wrong?
I'm sorry, but I don't know where to find the header template to add
Quote:<a href="https://theprosestylist.net/index.php" class="logocolor">THE PROSE STYLIST</a>

Thank you for your time.
see templates related guidance here

looks like your header template consists of below code line
<a href="https://theprosestylist.net/index.php">THE PROSE STYLIST</a>

or it can be like below
<a href="{$mybb->settings['bburl']}/index.php">THE PROSE STYLIST</a>
you can edit such line as makpaolo suggested
(2020-01-11, 03:06 PM).m. Wrote: [ -> ]see templates related guidance here

looks like your header template consists of below code line
<a href="https://theprosestylist.net/index.php">THE PROSE STYLIST</a>

or it can be like below
<a href="{$mybb->settings['bburl']}/index.php">THE PROSE STYLIST</a>
you can edit such line as makpaolo suggested

The tutorial helped a lot. Got it.

Thank you.

Smile