[Support request] Hide main nav on home page only

Home Forums Support [Support request] Hide main nav on home page only

Home Forums Support Hide main nav on home page only

  • This topic has 2 replies, 2 voices, and was last updated 7 years ago by Leo.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #297690
    Carol

    http://ncfloristassociation.com

    I’m trying to hide the main navigation completely on the home page only, but I want the sticky navigation to appear after user scrolls past top slider or clicks on the “scroll below slider” icon.

    I created a site using Avada theme that had that option in the nav settings, but I’m not sure how they did it. Script or css, but it worked perfect. http://ritchfaceveneer.com

    #297693
    Leo
    Staff
    Customer Support

    Hi Mike,

    Try this CSS to hide navigation on home page but keep the sticky navigation active:

    .home #site-navigation {
        display: none;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know.

    #297698
    Leo
    Staff
    Customer Support

    The site linked from the other theme has the navigation below the main slider which is why the sticky navigation activated after it scrolls past the slider.

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