Font color for links Posted by 2wheelrider 02 Apr 2009 23:02 UTC Can anyone tell me which line in css file i can find the color for fonts of links. Like Homepage or Administration and at the bottom of admin page under more links.
Posted by Gary Cunningham-Lee 04 Apr 2009 02:17 UTC The exact line varies, depending on which theme is being used. The best way to find out the CSS selector is to use a tool like the Firebug add-on for Firefox. This lets you see exactly what CSS is being used for each part of the page. The links at the bottom of the admin page don't have any special class, so are just "a, a:visited", so this is what you need to look for in the CSS file of the theme. In the case of "Homepage", that's also just a link, but is inside the page heading, so is "h1.pagetitle a". How this is styled, again, depends on the theme, but if you experiment a bit with the anchor element (a, or a:link, a:visited, etc.) and possibly "h1.pagetitle a", you should get some results. -- Gary
Posted by 2wheelrider 04 Apr 2009 03:59 UTC I've used Firebug on Firefox and its great. But the color must be overridden by something else because the links are not the color the css file says they are in the firebug editor. The color is right for all characters under "Crosslinks to other features and settings" that are not links. But the characters are one color for a non visited link and another for visited link but neither are the color specified in css file. There is no line with a:link and 2 lines with a:visited but those colors dont match up either. Also no "h1.pagetitle a". I've even spent hours going through every color code in css file and I have been successful with all colors of background and text execpt this. You help is appreciated.
Posted by 2wheelrider 08 Apr 2009 20:30 UTC I figured it out. I noticed that alot of the themes had those links as just default color(blue and puple) for visited and non visited links. I looked through the css file of the themes that did work and found that I needed to add the following lines to my css file. a, a:visited { background: inherit; color: black; text-decoration: none} a:hover { background: inherit; color: #840000; text-decoration: underline} Thanks for your help.