Archived topic
Removing the page numbers at the bottom
5 replies · Started by Kevin on March 7, 2020
I have my theme setup like I like it. But, since it's a directory style site, I do not want it showing page numbers at the bottom at all. In other words, I only want the user to be able to see the page they visited, and then a select few links in a side bar.
I have tried the following, but the page numbers still show:
#nav-below .page-numbers.next,
#nav-below .page-numbers.prev {
display: none;
}
In most themes that I have used, I can drop a pretty generic CSS code, such as below and it works:
body.home .pagination{ display: none; }
Any help is appreciated.
Hi there,
Any chance you can link us to the site in question?
You can edit the original topic and use the private URL field.
Let me know :)
Thanks, Leo.
I edited the original, and placed the URL in there.
This should help:
.nav-links {
display: none;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know :)
Thanks, Leo. Worked like a charm. :)
No problem :)