alam7o alam7o -5 years ago 86
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?


Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download