CSS to Change color of links
-
What CSS works to change the color of links and tags? theme 2011
The blog I need help with is: (visible only to logged in users)
-
Hi there, to change the normal content and date links at the top of standard posts, paste the following into your custom CSS and then edit the color code as desired.
a, #site-title a:focus, #site-title a:hover, #site-title a:active, .entry-title a:active, .widget_twentyeleven_ephemera .comments-link a:hover, section.recent-posts .other-recent-posts a[rel="bookmark"]:hover, section.recent-posts .other-recent-posts .comments-link a:hover, .format-image footer.entry-meta a:hover, #site-generator a:hover { color: blue; }For tags:
.indexed.format-image footer.entry-meta a { color: blue; } -
Hello,
Thank you for your help.
The CSS for tags worked but only on the latest post. It did not affect the blog as a whole. If you look at the site you can see how the tags and categories on the last post are now green. How do i write the CSS code so this change will take effect on all the posts?
I also want to change the color of the links in the posts themselves. -
-
-
Actually it didn’t. For some reason the 2 most recent posts have green tags and all the others have purple tags and categories.
I would like the tags and categories to be one color (green) and the links another (purple).
Is this possible? -
Yes.
Change the color in the following custom CSS rule from the current #099 to #93C
.indexed.format-image footer.entry-meta a { color:#099; }OR
Remove the above rule and append the following selector to the existing rule that is coloring everything to #93C
, .indexed.format-image footer.entry-meta a {
color: #93C;
} -
-
Thank you.
Actually what i am trying to figure out is whether it is possible to have different CSS codes for the Categories and Tags at the bottom of the posts and the links that appear in the text of the post.
-
Yes :-)
This CSS sets the links in the text of the posts to red.
.entry-content a { color: red; } -
- The topic ‘CSS to Change color of links’ is closed to new replies.