Site logo

[Resolved] Primary navigation: Disable on blog page

Home Forums Support [Resolved] Primary navigation: Disable on blog page

Home Forums Support Primary navigation: Disable on blog page

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #2525000
    ammgbr

    Hi,

    Is it possible to disable the primary navigation from the blog page?
    I cannot find the setting to do this?

    #2525007
    Ying
    Staff
    Customer Support

    Hi there,

    Removing the primary navigation will remove the sticky navigation as well.

    Do you want that?

    #2525014
    ammgbr

    No I need the sticky , is there no solution round that? The issue is that the anchor links dont work when it is on the blog page. If that could be resolved then the primary navigation doesn’t have to go

    EDIT: I have anchor links within the submenu items of the primary navigation which dont work on the blog page

    #2525032
    Ying
    Staff
    Customer Support

    The issue is that the anchor links dont work when it is on the blog page.

    If that’s the case, why would you need sticky navigation on blog page? The menu items should be exactly the same.

    Let me know!

    #2525037
    ammgbr

    I would like when a submenu linked e.g. books, is clicked while on the blog page, the visitor could be directed to the home page > books sections.

    I tried using full link in the submenus but the issue is that the submenus remained all highlighted when at the home page.

    Is there a way to disable the primary navigation specifically on the blog page, while maintaining it on the home page as it is now? I think that would be the best solution.

    #2525075
    Ying
    Staff
    Customer Support

    Can you try using the full URL?

    I can take look at it for a CSS solution.

    #2525118
    ammgbr

    I tried that but the issue is that when I am on the homepage, all of the relevant submenus are highlighted and it doesn’t look good

    #2525127
    Ying
    Staff
    Customer Support

    I tried that but the issue is that when I am on the homepage, all of the relevant submenus are highlighted and it doesn’t look good

    I get it, that’s why I want to see it and seek for a solution for you.

    #2525133
    ammgbr

    It’s ok , I have decided to simplify things from a user experience and remove the submenus.

    Is there a way to disable the primary navigation specifically on the blog page, while maintaining it on the home page as it is now?

    #2525138
    Ying
    Staff
    Customer Support

    You can use a layout element to disable the primary navigation and set the location to blog.

    Make sure the Disable elements module is activated at appearance > Generatepress.

    #2525154
    ammgbr

    That worked many thanks 🙂

    #2525215
    Ying
    Staff
    Customer Support

    No problem 🙂

    #2526582
    ammgbr

    Apologies fore coming back to this, I just notice that this effect is only on desktop and is not applied on other devices such as mobile. Is there any way to disable the primary navigation on the blog page, applicable to all devices and not just desktop?

    #2526602
    Leo
    Staff
    Customer Support

    Have you resolved this?

    I’m not seeing the primary navigation on mobile either:
    https://www.screencast.com/t/yIz45ZVBkmc

    #2526660
    ammgbr

    Hi, I’ve input inthe private box the page I am referring to, the disable element for the primary nav works for desktop on that page but I can still see it on mobile despite refreshing cache

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