[Resolved] Removing the page numbers at the bottom

Home Forums Support [Resolved] Removing the page numbers at the bottom

Home Forums Support Removing the page numbers at the bottom

  • This topic has 5 replies, 2 voices, and was last updated 4 years ago by Leo.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1188274
    Kevin

    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.

    #1188284
    Leo
    Staff
    Customer Support

    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 πŸ™‚

    #1188514
    Kevin

    Thanks, Leo.

    I edited the original, and placed the URL in there.

    #1188730
    Leo
    Staff
    Customer Support

    This should help:

    .nav-links {
        display: none;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know πŸ™‚

    #1188794
    Kevin

    Thanks, Leo. Worked like a charm. πŸ™‚

    #1188830
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.