MPUSA Posted February 15 Share Posted February 15 is there a way I can hide the drop downs (navigation) buttons that are static on the top bar but keep a LOGIN and QUOTE button? Link to comment
creedon Posted February 16 Share Posted February 16 Are you wanting to do this on just some of your pages or site-wide? Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
MPUSA Posted February 16 Author Share Posted February 16 It will be for a store that I am setting up for one of my clients, so only on their "store" pages only. Link to comment
creedon Posted February 16 Share Posted February 16 (edited) Add the following example code to Store Settings > Advanced > Page Header Code Injection for the store page. Please see per-page code injection. <style> .header-nav { display : none; } </style> Let us know how it goes. Edited February 19 by creedon Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
amandacoccaro Posted February 19 Share Posted February 19 Hi. Thanks for responding. I tried this and used the ID finder tool you sent, but it is still showing my main navigation. To answer your question, I only want to hide the main navigation. I've just set up a new page without anything added yet to start work on this. Here is the url to the page: https://www.corianderdesigns.com/new-page-1 Link to comment
creedon Posted February 19 Share Posted February 19 4 hours ago, amandacoccaro said: but it is still showing my main navigation I assumed you were on v7.1. You are on v7.0 using the Brine template family which requires different code. <style> .ancillary-header-primary-nav-position-bottom-center.has-primary-nav .Header--bottom { display : none; } </style> Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
amandacoccaro Posted February 19 Share Posted February 19 Sweet! It worked. Will I need to adjust the code if I adjust the placement of the navigation to center right? Additionally, will I need to adjust the code if I change the url slug of the page? Eventually I want this to be a splash page for my site so the url will change. Thanks for your help. creedon 1 Link to comment
creedon Posted February 19 Share Posted February 19 Quote Will I need to adjust the code if I adjust the placement of the navigation to center right? Yes. I don't know all the selectors SS uses for each of the positions so I can't give you those ahead of time. Quote will I need to adjust the code if I change the url slug of the page? No. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
amandacoccaro Posted February 19 Share Posted February 19 Thank you. I was able to use the code you provided and adjust based on my updated nav placement. I really appreciate your help. creedon 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment