Remove 'older posts' button from foot of blog
-
Hi there,
Some time ago I was given the following CSS to hide the ‘older posts’ button from the bottom of the blog page:
/* Hide older/newer links */
.paging { display: none; }This worked for a time, but now the button seems to have reappeared.
Can someone let me know whether I have entered the code incorrectly, or whether there’s a different CSS for this function?
Many thanks,
MH
The blog I need help with is: (visible only to logged in users)
-
The code you were given does what the note inside the asterisks says: it hides the regular older/newer navigation links, not the new “Older posts” button that’s part of the infinite scroll feature.
Hiding the regular navigation links was wrong, because they are necessary on category and archive pages.
So, to hide the new button and restore the regular links, remove the above code and add this:.infinite-scroll #infinite-handle span { display: none; } .infinite-scroll .paging { display: block !important; }
- The topic ‘Remove 'older posts' button from foot of blog’ is closed to new replies.