Set Individual Styles for Specific Posts
Posted on October 26, 2009 and last modified on October 28th, 2009.
This little hack is very easy to use and yet, it is not a common feature on many sites.
All you need to do is find the ID of the post, which is oh so easy if you have installed the ‘Reveal ID’s for WP-Admin’ plugin that is bundled with your theme and then make a few CSS adjustments in your style.css file. Here is the CSS used to change this particular post.
/*----------------------------------------------------------------------------*/
/* --- INDIVIDUAL POST STYLING - [USE #POST-ID] --- */
#post-123 {
background: #161616 url(img/indpost123.png);
color:#F7FFB7;
font-weight:bold;
}
I have only changed the background and font, but you can change as much as you wish.
Difficulty Level: Easy












