alam7o alam7o - 2 months ago 4x
CSS Question

How can I apply a different style for page 2, page 3 etc in Wordpress?

I want to use different styling for other pages in single.php

I'm using this tag to separate my blog posts into several pages:


How can I do this in Wordpress?


Lee Lee

If you look at your source code for the other pages (2, 3 etc), you will see there is a new classes added to the <body> tag called paged-2, paged-3 etc.

You can apply your own CSS styling based on these new classes, that will only affect those pages.