MyBB Community Forums

Full Version: Apply setting to <div>dns</div> In the Header file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I want to make the font colour green, and make it larger for the text where the logo would appear on my forum.

I do have a logo, but it doesn't look great, so I'm using the text that would be as an "alt" as a replacement.

My code is as 
<div class="dns">
    <div class="float_left" style="margin-left: 6%; margin-top: 12px;"> 
        <div id="fadehover">
            <a href="{$mybb->settings['bburl']}/index.php">{$mybb->settings['bbname']}
            </a>
        </div>
    </div>
</div>

I would like to make the font colour 33FF33 (hex), and I will fiddle with the font size if you just give me the syntax (the font size would be in px).
My site can be found here.
Thanks,
Josh
Try this:

<div class="dns">
    <div class="float_left" style="margin-left: 6%; margin-top: 12px;"> 
        <div id="fadehover">
            <a href="{$mybb->settings['bburl']}/index.php" style="color:#33FF33; font-size: 18px;">{$mybb->settings['bbname']}
            </a>
        </div>
    </div>
</div>
(2015-07-28, 10:43 PM)KevinVR Wrote: [ -> ]Try this:

<div class="dns">
    <div class="float_left" style="margin-left: 6%; margin-top: 12px;"> 
        <div id="fadehover">
            <a href="{$mybb->settings['bburl']}/index.php" style="color:#33FF33; font-size: 18px;">{$mybb->settings['bbname']}
            </a>
        </div>
    </div>
</div>

You, my friend, are a life-saver! Thank you so much.