scholarsayze Posted June 16, 2020 Share Posted June 16, 2020 Site URL: https://bluebird-porcupine-yzdg.squarespace.com/home-v11 Hello, I would like to hide the top menu navigation only on my home page header, but include it on all other pages. I will be including a separate menu navigation on the home page. Is this possible? Pword: bluebird Best, Faizal Link to comment
paul2009 Posted June 16, 2020 Share Posted June 16, 2020 If you only want to hide the navigation only, you can add this to Design > Custom CSS: .homepage .header-layout-nav-right .header-nav { display: none; } If you want to hide the cart and login buttons as well, you'd use this instead: .homepage .header-layout-nav-right .header-nav, .homepage .header-layout-nav-right .header-actions { display: none; } For the benefit of others who read this post: This snippet is for Squarespace 7.1 only, when the site is configured with the header navigation in the top right. It applies to the homepage only, because the ".homepage" class has been used. About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
scholarsayze Posted June 16, 2020 Author Share Posted June 16, 2020 Paul thanks so much this is awesome!!! Very clever indeed! I appreciate your time today. Best, Faizal Link to comment
mjwatt43 Posted June 17, 2020 Share Posted June 17, 2020 18 hours ago, paul2009 said: If you only want to hide the navigation only, you can add this to Design > Custom CSS: .homepage .header-layout-nav-right .header-nav { display: none; } If you want to hide the cart and login buttons as well, you'd use this instead: .homepage .header-layout-nav-right .header-nav, .homepage .header-layout-nav-right .header-actions { display: none; } For the benefit of others who read this post: This snippet is for Squarespace 7.1 only, when the site is configured with the header navigation in the top right. It applies to the homepage only, because the ".homepage" class has been used. I'm trying to do the same thing, but to a "not linked" page - I'm not sure what class to use in order for this to affect the page. My page is called One Sheet. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.