If you find you don’t like the default link colors on a theme, it’s really simple to change them with just a few lines of code. If you’re using a Graph Paper Press theme, most of our themes allow you to change colors from the Theme Options. It’s important to think about the different properties of a link; what it looks like when it’s visited, unvisited and when you hover over it. Edit this code in your style.css file.
a:link {color:#CCCCCC;} /* unvisited link */
a:visited {color:#404040;} /* visited link */
a:hover {color:#FFFFFF;} /* mouse over link */
You can also add a text-decoration argument to add or remove an underline.
a:link {color:#CCCCCC; text-decoration:none;}
a:link {color:#CCCCCC; text-decoration:underline;}
To easily find the right hexadecimal color for you, check out this online color picker.
Are those codes also apply for other wordpress themes then the graph paper?
Looked into the style.css file. Cannot find the a:link lines you mention above. I want to change the blue hyperlink’s in the “Modularity Lite” theme to a red. They are not editable in theme options either. I did find $theme colors array for url and links in “theme functions” under editor – but it was not successful in changing my blue links to red. Any suggestions?
Thanx very much
Thank very much http://www.topseoforum.com/
Thank you, will change immediately. http://www.attenzione.se
I am using the onsie pro theme.. Where do I change navigation colors?
My current genesis child theme has green color for hyperlinks. How do I change all links to blue at once?
Add this CSS code:
a { color: red !important; }
Hello, thank you very much, but where in the CSS code put the code, thanks