• Resolved laframk

    (@laframk)


    Hello,

    I’d like to remove the menu from my home page. I’ve installed the WP Add Custom CSS plugin, but can’t seem to get the right code in to remove the menu from the top of the page.

    Thanks,
    Kelli

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, Kelli:

    When posting a question, please include a link to your site. Then we can examine the site directly & see why your CSS isn’t working.

    Try adding the following rule to your CSS plugin:

    .home .site-header .site-bar {
       display: none;
    }

    Thread Starter laframk

    (@laframk)

    This worked perfectly! Thank you!

    lokeshpokar

    (@lokeshpokar)

    It’s not working with me. I have installed WP Add Custom CSS plugin and paste your code there but it’s still showing the menu.

    website – https://www.lexuno.com

    CrouchingBruin

    (@crouchingbruin)

    @lokeshpokar, this thread is located on the Olsen Light support page, and so the questions here have to do with that theme. You are running a different theme, which is why the CSS isn’t working for you, i.e., while there are some standard WordPress classes and IDs, most themes use different classes & IDs for their elements.

    On your site, I do not see any other menu other than the one which comes with the theme. However, if you still want to hide the menu on the home page, you would go to Appearance → Customize → Additional CSS and copy & paste in this rule:

    
    .home .site-header .main-navigation {
       display: none !important;
    }
    

    In the future, please start a new thread instead of jumping into an existing one. That way the original poster won’t get unrelated emails that they are not interested in.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Menu from Home Page’ is closed to new replies.