Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove a page from header navigation

  • @formbi

    Participant

    Basically, I want to create new pages but I don’t want them to appear in the header menu. There seems to be a thousand ways to do this but I cannot find one simple enough for me!

    If I could just replicate the way that “Activate” and “Register” do not appear in the header, it would be perfect!

Viewing 4 replies - 1 through 4 (of 4 total)
  • @mercime

    Participant

    @formbi I don’t know what theme you’re using, but almost all of the updated themes have custom menus which you can configure via Appearance > Menuw https://codex.buddypress.org/extending-buddypress/how-to-set-up-your-main-site-navigation-using-the-built-in-wordpress-menus/

    @naijaping

    Participant

    @formbi,The simplest way without code edit or plugin is to use css to hide it. look for the page ID and write something like: .page-item-78{ display: none ! important;} where 78 is your page ID you can hide as may pages as you want by adding a coma

    @formbi

    Participant

    @naijaping That sounds like a great solution, can you explain further? Where do I write that line of code exactly? I tried putting it in style.css and that didn’t work.

    @naijaping

    Participant

    @formbi, it worked for me like a charm, which theme are you using? you need to write it at the bottom of your style.css . please make sure the page ID is right and dont forget to clear cache after the code.

    the code is like ds .page-item-78{ display: none ! important;}

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove a page from header navigation’ is closed to new replies.
Skip to toolbar