Changing background and text color for posts, not overall blog.
-
Hi,
I’d like to change the background of my posts (which are white) and text (which is black).
The background of the overall blog is black, but the posts are white.
What would be the code for this?
Thanks
The blog I need help with is: (visible only to logged in users)
-
Hi, give the following a try and we can go from there.
.hentry { background-color: #000000; } body, h1, h2, h3, h4, h5, h6, .entry-title { color: #FFFFFF; }The following changes all the linked text colors. You can separate these selectors out if you wish if you wish to set them to different colors.
a, a:visited, .entry-content a, .comment-content a, .entry-title a, .entry-meta a { color: #CE5F00; } -
-
You can use them in any order you wish. In some instances it makes a difference on order, but not in this case. I would likely break them up this way.
a, a:visited .entry-content a, .comment-content a .entry-title a .entry-meta a -
-
- The topic ‘Changing background and text color for posts, not overall blog.’ is closed to new replies.