Odd Link Color/Hover Color Problem
Darter02
Registered Users Posts: 947 Major grins
I'm experimenting with a new theme color scheme for certain pages. In order to have more control of what colors appear in each theme I've eliminated all my block specific CSS control over link color/hover color. I now use the Custom Theme's Avanced Tab's Custom CSS menu. There I place:
It seems to work for to help distinguish the different color themes for the most part. When checking things out on different browsers I'm getting an odd problem with Chrome.
In IE10 things look correct. There are 4 links. The "Return to Top," the address, the Bay Photo, and the email link.
In Firefox thing look mostly correct. In this browser the address link looks like the normal text color.
But in Chrome only the email link, and Return to Top appear correctly. This happens in both my new theme, and the site-wide theme.
Does anyone have a clue as to why? Do I need to have that "a" capitalized or something?
a { color: #[COLOR="Red"]SOME COLOR[/COLOR]; } a:hover { color: #[COLOR="Red"]SOME COLOR[/COLOR]; }
It seems to work for to help distinguish the different color themes for the most part. When checking things out on different browsers I'm getting an odd problem with Chrome.
In IE10 things look correct. There are 4 links. The "Return to Top," the address, the Bay Photo, and the email link.
In Firefox thing look mostly correct. In this browser the address link looks like the normal text color.
But in Chrome only the email link, and Return to Top appear correctly. This happens in both my new theme, and the site-wide theme.
Does anyone have a clue as to why? Do I need to have that "a" capitalized or something?
0
Comments
You might also need to do this:
http://meyerweb.com/eric/css/link-specificity.html
Especially you should be setting a :visited colour.
Please check out my gallery of customisations for the New SmugMug, more to come!
I also changed my code to:
Now all is working in all browsers. Thanks!