Home>Support>How to remove main menu from the header.

How to remove main menu from the header.

By Geetha, 9 years ago. Last reply by Geetha, 9 years ago.

What is the easiest way to hide the main menu from header instead of changing header.php.
Your suggestions are appreciated.

Thanks,
Geetha.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Hi Geetha

    You can de-activate the main menu from Appearance > Theme Settings > Layout > Masthead Menu: Set that to Empty Menu.

    Let me know how that goes.

  2. 9 years, 8 months ago Geetha

    I want to hide menu only from certain pages..not all the pages. pls suggest..
    Thx,
    Geetha.

  3. 9 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    For sure.

    If you aren’t already comfortable using your browser’s developer tool, please see: https://siteorigin.com/basics/modifying-theme-design-with-custom-css/.

    You’ll need to inspect the source on the pages you’re trying to do this on and identify the unique class in the body tag.

    You’ll then need to prefix the following CSS with the page’s unique body class.

    .main-navigation {
      display: none;
    }
    

    So for example, to hide your menu on your home page only, you’d say:

    .home .main-navigation {
      display: none;
    }
    

    All CSS to be placed under Appearance > Custom CSS.

    To hide the menu on this page here: http://demo.siteorigin.com/vantage/plugin-intergration/ you’d say:

    .page-id-2 .main-navigation {
      display: none;
    }
    
  4. 9 years, 8 months ago Geetha

    Sure, I will try this in CSS , I have done the same with other wordpress themes , it worked..
    Thanks..

  5. 9 years, 8 months ago Geetha

    Andrew..it worked. Thanks.

  6. 9 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Super, glad to hear you made progress here :)

  7. 9 years, 8 months ago Geetha

    How to remove search icon from the main menu ? suggestions appreciated..

    Thanks,
    Geetha.

  8. 9 years, 8 months ago HavaWorkman

    This one is actually easy. :) No custom CSS needed!

    Appearance > Theme Settings > Navigation > uncheckmark “Search in Menu: Enabled” checkbox. Save and it’s gone!

    Havilah

  9. 9 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Thanks Havilah. That’s correct. Appreciate the help.

  10. 9 years, 8 months ago HavaWorkman

    I’m a teacher by profession (I learn and build websites for fun) so it’s cool when I can actually be the teacher occasionally. :) Plus, the support you guys give here on the forums is outstanding and I’ve certainly received quite a bit of it myself. I like giving back when I can.

    Havilah

  11. 9 years, 8 months ago Geetha

    Yes..It worked..Teaching is a very noble profession..I admire your helping nature. Thx-Geetha.

  12. 9 years, 8 months ago Geetha

    How to add secondary menu to the footer for vanatge premium..

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More