Forum:Change expanded wiki navigation?

I know how you can change the wiki navigation and how to change the expanded version's color, but can somebody tell me how to change the COLOR of the TEXT in the wiki navigation. Because now I have a good color, but the text color is black and it totally doesn't look good. I would like the text white, but I don't know how to do that. 15:39, October 26, 2011 (UTC)


 * HTML tags still work in MediaWiki pages so just wrap all your text in a span tag and change the font color with that.--


 * Thanks for the quick reply :) 15:50, October 26, 2011 (UTC)
 * But then this happens... Any other advice? 15:54, October 26, 2011 (UTC)


 * It would be more practical to change the text color by using CSS. Adding the following to MediaWiki:Wikia.css on your wiki should take care of it:
 * --Gardimuer { ʈalk } 03:16, October 27, 2011 (UTC)
 * --Gardimuer { ʈalk } 03:16, October 27, 2011 (UTC)


 * I tested the following on a wiki with the new navigation enabled on my Special:MyPage/wikia.css and it worked pretty good.

 /* Try to change text color of new wiki selected menu and sub menu items */ .WikiHeaderRestyle > nav li.marked a { color:#ffffff !important; } .WikiHeaderRestyle > nav .subnav-2 li a.subnav-2a { color:#ffffff !important; }
 * The first thing will override the color for the selected submenu name and all its items and the second thing will just override the submenu item color, if you want it different.
 * Try it at w:c:kurokonobasuke:Special:MyPage/wikia.css and then move it to w:c:kurokonobasuke:MediaWiki:Wikia.css when you think it looks like you want. -- Fandyllic (talk &middot; contr) 27 Oct 2011 3:26 PM Pacific