Forum:Monobook Links

Hello. Is there anyway to alter the color of links in Monobook, so that they match the color scheme that appears in Oasis? I'd expect changes to the css code would be necessary, but I would appreciate it if someone could tell me what specifically I would need to do.

Thank you,

-- 09:34, September 27, 2012 (UTC)


 * I'm not a Monobook expert, but this should do it:

 a, a:hover, a:visited, a:active {colour: COLOURCODE;}
 * Add that to your wiki's Monobook.css page, and you should be set.


 * Almost. Is there a way to change external link colors as well?
 * -- 09:51, September 27, 2012 (UTC)

 a, a:hover, a:visited, a:active, a.external, a.external:hover, a.external:visited, a.external:active { colour: COLOURCODE; }
 * Sorry about that...


 * I'm sorry, but I'm afraid it still does not seem to be working. The links that are not changing color are links to other wikis. Are those not considered external links?
 * -- 10:20, September 27, 2012 (UTC)


 * You can tell I don't do Monobook that often. Okay, this should be the complete code:

 a, a:hover, a:visited, a:active, a.external, a.external:hover, a.external:visited, a.external:active, a.extiw, a.extiw:hover, a.extiw:visited, a.extiw:active { colour: COLOURCODE; }
 * My apologies.

– Jazzi  ( talk ) 10:27, September 27, 2012 (UTC)

That should be the proper code, but, in addition, the cache has been a bit funky so you might not see a change right away. – Jazzi  ( talk ) 10:32, September 27, 2012 (UTC)


 * Eladkse, Jazzi, I'm very sorry, but neither method has seemed to work. Here is the Monobook.css page, and here is the page with the links. The fault is most likely mine, but if you could spare a look, it would be much appreciated.
 * -- 10:54, September 27, 2012 (UTC)
 * The fault isn't yours - there's a bug at Wikia's end that causes monobook.css to load with a lower priority than the default stylesheet, so all your code won't work if it's overwritten by the default. To override this, use:
 * --  Random Time  11:02, September 27, 2012 (UTC)


 * Okay, that's done it. Thank you everyone.
 * -- 11:07, September 27, 2012 (UTC)


 * It shouldn't be a matter of an  since it's worked fine for all the skins I've made. –  Jazzi  ( talk ) 14:17, September 27, 2012 (UTC)