Support » Theme: Apex » Navigation Bar only on Home Page

  • regerman926

    (@regerman926)


    On our site I need to hide the navigation bar on all page but the home page. Can anyone share some css that can help us with this?

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hi there,

    Thanks for using Apex!

    This code should work well to hide the navigation on all pages besides the homepage:

    #menu-primary-container {
      display: none;
    }
    .home #menu-primary-container {
      display: block;
    }

    Please copy and paste that code into the Additional CSS section in the Live Customizer (Appearance > Customize), and it will take effect right away.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.