[Support request] Blog Secondary Navigation

Home Forums Support [Support request] Blog Secondary Navigation

Home Forums Support Blog Secondary Navigation

  • This topic has 1 reply, 2 voices, and was last updated 7 years ago by Leo.
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

    #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.