my theme has a white background...journalist.
I want to "feature" or make certain posts a different color...just a simple tweak maybe a peach color background or some other subtle color to signify a "special post"
my theme has a white background...journalist.
I want to "feature" or make certain posts a different color...just a simple tweak maybe a peach color background or some other subtle color to signify a "special post"
depends on the css ids or classes of your post, and also if your post has a surrounding div that helps to distinguish it from the rest of the page.
some themes give an individual id to each post, containing the post ID; you could use this css id then in your style sheet to add a background color to specific posts.
a link to your site might get you more help, as not everyone has 'journalist' installed or is totally familiar with this theme.
You could use your post's "custom fields" to define a custom background color to that specific post.
I would suggest a simple edit (and suggest perhaps submit it back to the theme author for future updates):
Add the body_class() function into the header.php file ... see this page for more details: http://codex.wordpress.org/Template_Tags/body_class
Once added the theme will generate post/page specific CSS elements you can then address in your stylesheet.
This topic has been closed to new replies.