Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: pointalk on November 07, 2009, 06:27:32 AM

Title: how to only change board name color
Post by: pointalk on November 07, 2009, 06:27:32 AM
I want to change board name color only, what should i do?
Title: Re: how to only change board name color
Post by: Kays on November 07, 2009, 06:37:56 AM
Hi, you can try this mod.

http://custom.simplemachines.org/mods/index.php?mod=1030
Title: Re: how to only change board name color
Post by: JimM on December 01, 2009, 09:32:15 PM
Did the mod work for you? If this is solved please mark it solved by clicking the Mark Topic Solved link at the bottom left of the page.
Title: Re: how to only change board name color
Post by: maxdailydeal on May 06, 2011, 04:33:44 PM
I have the same question, but will it work for black eagle theme the same way?
Title: Re: how to only change board name color
Post by: JimM on May 06, 2011, 08:56:40 PM
It should however you may have to manually install the mod as they only install on the default theme.
Title: Re: how to only change board name color
Post by: Sir Osis of Liver on May 06, 2011, 09:13:46 PM
(http://www.thekrashsite.com/advmax/pics/facepalm.gif)

You don't have to install a mod to change the forum title formatting.  It's a simple edit in index.template.php -



<span style="font-family: Georgia, sans-serif; font-size: 40px; color:#A0E115; font-weight:bold; margin-left:20px;">', $context['forum_name'], '</span>



$context['forum_name'] is what you're after - it's in the header code.  You can format it any way you like.

Title: Re: how to only change board name color
Post by: mashby on May 06, 2011, 09:58:08 PM
It's the BoardIndex.template.php file that contains the Board names, though. Krash, I think you're thinking of "Board" as "Site" or "forum name". The linked mod takes care of colorizing boards.
Title: Re: how to only change board name color
Post by: Sir Osis of Liver on May 06, 2011, 10:49:09 PM

I think you're right.  Every other boardware I've used, going waaaaaaay back to the old DOS bbs and Compuserve boards, 'board' is the whole thing, and 'forums' are the subs of categories.   It's hard for an old dawg to learn new tricks, but I keep tryin'.