I'm trying to use page-blog.tpl.php to control my blog pages, and all is well, except for one thing. I can't seem to figure out a way to declare a second set of styling for this page. There are some elements that I've set that I've added specific styling for such as with the corresponding style set in the ID on the main style.css. But, I can't seem to find a way to do that for the "body" element and that is where I have a specific background image stored. So for instance, the main page.tpl.php would have something like this:
background-image: url(images/primaryimage.png);
background-repeat:no-repeat;
background-position:top center;
}
and the blog pages need to have
background-image: url(images/SECONDARYimage.png);
background-repeat:no-repeat;
background-position:top center;
}
If anyone has any idea as to how I might accomplish this I'd be most grateful.
Read »








