Change default color of hyperlinks
-
Hi there. I have http://cheshmandaz.org with customization. Question: Can I change the default color of hyperlinks from current grey or so to NAVY BLUE? And how… I am relatively inexperienced in CSS issues. Thanks a lot.
The blog I need help with is: (visible only to logged in users)
-
Hi there, go to Appearance > Customize > CSS, delete all the informational text in that window, and paste in the following custom CSS to change all of your site links to navy blue. I’ve used “red” as a demo color so you can see what all will change. Once you are satisfied that all of that is what you want changed, you can change “red” to “navy blue”. When you do, you are going to see that the links do not look too blue really.
a, a:visited { color: red !important; }You can also try just using “navy” as the color, which is a bit brighter blue.
If you do not want all the links changed to blue, please let us know exactly which link you want blue, and we can then target those specifically.
-
Thanks so much. Now I have learned the way. I tried it but it changes the color of all titles and menu bar items. I JUST WANTED to change the color of the hyperlinks INSIDE A POST/TEXT. Nothing else…
-
Ok, do you also want the links on the single posts, such as here to also be that same color?
This changes just the font page:
.catnewsMainStory a, .catnewsMainStory a:visited { color: #d08d36 !important; }This would change the front page, category pages, single posts and pages.
.catnewsMainStory a, .catnewsMainStory a:visited, #lead a, #lead a:visited, .subfeature a, .subfeature a:visited, .cat-excerpt a, .cat-excerpt a:visited, .entry a, .entry a:visited { color: #d08d36 !important; } -
-
To change the color ONLY in the content on single post pages, then use the following:
.entry a, .entry a:visited { color: #d08d36; } .tags a, .tags a:visited { color: #4e6b7a; }The second rule above excludes the tags and categories at the bottom of the single posts.
-
Sorry to bother again…
This is VERY GOOD
a, a:visited {
color: blue !important;
}
Just NOT for the blog’s name and the menu… How can I exclude these two? -
-
- The topic ‘Change default color of hyperlinks’ is closed to new replies.