Enabling an active state with pagination
-
Hello everyone! I hope this is just a simple fix. I’m looking to set up an active state through the pagination I’ve recently installed on my blog. As you can see, it’s not that easy to see which page a user is currently on if they start going through the pages. This is the code I’ve inputted:
<div class="archive-pagination pagination"><ul><li class="active" ><a href="1" aria-label="Current page"><span class="screen-reader-text">Page </span>1</a></li> <li><a href="https://bakedujour.com/blog/page/2/"><span class="screen-reader-text">Page </span>2</a></li> <li class="pagination-next"><a href="https://bakedujour.com/blog/page/2/" >Next Page »</a></li> </ul></div>I’ve read multiple articles stating that simply adding
.activewill do the trick, but I still can’t seem to figure this out!The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Enabling an active state with pagination’ is closed to new replies.