The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS wordpress: creating pages Re: wordpress: creating pages


Firstly, I personally wouldn’t worry about using a caching plugin until you’re more comfie with working with your theme. The nature of caching means you won’t see CSS / template changes very easily.

Next, like TheDoc said, check your header.php file for the < body> tag, and make sure it reads


That way, you’ll have a class that’s different for different types of content ( ie, the home page gets a .home class, the main blog index gets a .blog class, other Pages get .page, single posts get .single, and so on).

Then you can style specific items or entire pages based around CSS in your style.css file like:

body.home p {color:red;} p {color: blue;}

That’s how you do what you’re asking, generally. The next step is learning CSS well enough to answer questions like this. :)