Page Index Toggle Pages: 1
Topic Tools
Text Color Change (Read 1,413 times)
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Text Color Change
Reply #3 - Mar 27th, 2011 at 3:15am
Post Tools
You're welcome.
  
Back to top
 
IP Logged
 
j razz
YaBB Newcomer
*
Offline



Posts: 31
Re: Text Color Change
Reply #2 - Mar 27th, 2011 at 3:11am
Post Tools
Thanks a lot!  That's exactly what I needed.
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Text Color Change
Reply #1 - Mar 27th, 2011 at 2:54am
Post Tools
Hi,

There was a couple of changes to the .nav selector in 2.5, so I guess the easiest thing to do would be to add a new selector for the main navigation if you want them to be different colors. First add this to your CSS file:

Code (CSS)
Select All
.mainnav {
        font-weight: bold;
        font-size: 10px;
        color : #FFFFFF;
        text-decoration: none;
}
.mainnav a {
        font-weight: bold;
        font-size: 10px;
        color : #FFFFFF;
        text-decoration: none;
}
.mainnav a:hover {
	color: #FFFFFF;
	text-decoration: underline;
} 


And then in the default.html template file find:

Code (HTML)
Select All
                <td class="nav" height="30" align="left">{yabb boardlink} {yabb navigation}</td> 


And change to:

Code (HTML)
Select All
                <td class="mainnav" height="30" align="left">{yabb boardlink} {yabb navigation}</td> 

  
Back to top
 
IP Logged
 
j razz
YaBB Newcomer
*
Offline



Posts: 31
Text Color Change
Mar 27th, 2011 at 2:01am
Post Tools
When using 2.4 I was able to have blue links and "Community" in white (see the Blue_Text.PNG file)

Since migrating to 2.5AE I cannot figure out how to duplicate this.  As you can see if the White_Text.PNG file the white links are very hard to read.  However, when I change it, it also changes the "Community" up above as well.  I only want the links in the gray area to change from white to blue. 

How can I do this?  Any help would be greatly appreciated.  Thank you.
  

Blue_Text.PNG ( 6 KB | 199 Downloads )
Blue_Text.PNG
White_Text.PNG ( 6 KB | 191 Downloads )
White_Text.PNG
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top