Jump to content

Hide menu on every page but keep on the homepage

Go to solution Solved by tuanphan,

Recommended Posts

Hey

I am creating a one-page website, so I only want the menu to be visible on the home page, not on any other page.

On mobile, and on every other page but the home page, I would like to see only the logo and CTA button on the header (not a drop-down menu with the CTA button in it). Is this possible?

Website: sweetdreamsleepconsulting.squarespace.com/config
PW: sd

Link to comment
  • Replies 6
  • Views 342
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
23 hours ago, tiffybennett1 said:

This hasn't worked for me on this page

https://sweetdreamsleepconsulting.squarespace.com/sleep-downloadables

I need to still see the logo but not see the menu

Use this code

body:not(.homepage) .header-nav {
    visibility: hidden;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.