PDA

View Full Version : Navlinks CSS


NTMID8
08-22-2011, 01:25 PM
OK, back for another request. The screenshot below shows the navlinks below the forums with the Mark Forums Read and View Forum Leaders options. I changed the StyleVars for this to get the background and also changed the text to white, but it does not show up white as it is hyperlinks.

What CSS can I change or add to make these hyperlinks show up as follows:

link - white
visited - white
active - yellow and underline
hover - yellow and underline

Lynne
08-22-2011, 01:48 PM
Something like:
.navlinks a {color: white;}
.navlinks a:hover {color: yellow; text-decoration:underline;}http://www.w3schools.com/css/css_pseudo_classes.asp

napy8gen
08-22-2011, 01:51 PM
put below code in your additional.css
style manager> style name> edit templates> CSS templates> additional.css

.navlinks a{color:#FFF!important;}
.navlinks a:hover{color:#ffde00!important;}

PS: Sorry while replying I dont realised lyne has replied.

NTMID8
08-22-2011, 05:37 PM
Something like:
.navlinks a {color: white;}
.navlinks a:hover {color: yellow; text-decoration:underline;}http://www.w3schools.com/css/css_pseudo_classes.asp

Thanks Lynne. I had tried to add something similar to my vbulletin.css earlier after doing a search on the web and looking at some css examples, but I guess maybe I formatted something wrong.

Your code worked perfect in the additional.css.