Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Support request] Blog Secondary Navigation

Home Forums Support Blog Secondary Navigation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #381691
    Espresso

    Hi Tom,

    I have built my website with GP. I have created the blog section. However, when I go into the blog section, I would like to add a secondary navigation (only for the blog). This way, people can navigate the website with the primary navigation, and when they access the blog, they can still see the primary navigation and see the secondary navigation related to the blog (categories and blog posts).

    Is that possible?

    Best,
    Dan

    GP Premium 1.4.3
    #381784
    Leo
    Staff
    Customer Support

    Hi Dan,

    Try this CSS to hide secondary navigation on all pages except blog and archive:

    body:not(.blog):not(.archive) .secondary-navigation {
        display: none;
    }

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

    If something doesn’t work can you link me to a page that’s not working? Thanks!

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