CSS on blog/archive page only?
-
Can someone please tell me how to make custom CSS apply to only the blog/archive page only and not the individual posts? All I’m trying to do is put a dropcap on the first letter of each post from the main blog view, but I don’t want it to be there when you open the post.
I know there is probably an answer to this somewhere already, believe me, I have searched and after a lot of frustration, I’ve resorted to this. Anyone? Without being pompous about it? Some of us are new to this stuff… you were once, too…
The blog I need help with is: (visible only to logged in users)
-
Hi, in the opening body tag in the blog page, there will be a “blog” CSS class. Precede your css selector with that, like this.
.blog ....Same for archives. On archive pages (tag, category and date archive) there will be an “archive” class so…
.archive ... -
-
-
- The topic ‘CSS on blog/archive page only?’ is closed to new replies.