Herzberg6969 Posted January 25 Posted January 25 I am trying to remove the logo, and if possible navigation links from this (and only this) page, while still allowing the shopping cart to pop up. Is this at all possible? Maybe I'm asking to much from rigging squarespace and need to learn to build a proper custom website lol. https://www.herzbergdesign.com/kingcakebaby @tuanphan You've written a lot of beautiful code to help the folks here, I'm wondering if you could help me out too!
Solution creedon Posted January 25 Solution Posted January 25 (edited) Add the following to Store Settings > Advanced > Page Header Code Injection for the store page. Please see per-page code injection. <style> html:not( .squarespace-damask ) .ancillary-header-branding-position-top-left [ data-nc-base="header" ] [ data-nc-container="top-left" ][ data-nc-container ], html:not( .squarespace-damask ) .Header-nav, html:not( .squarespace-damask ) .ancillary-mobile-bar-branding-position-top-left [ data-nc-base="mobile-bar" ] [ data-nc-container="top-left" ][ data-nc-container ], html:not( .squarespace-damask ) .ancillary-mobile-bar-menu-icon-position-top-right [ data-nc-base="mobile-bar" ] [ data-nc-container="top-right" ][ data-nc-container ] .Mobile-bar-menu { display : none; } </style> Let us know how it goes. Edited January 26 by creedon version 3 Herzberg6969 1 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.
Herzberg6969 Posted January 25 Author Posted January 25 @creedon That worked! Thank you so much! Not to ask for too much, but is it possible to do the same on mobile?
creedon Posted January 25 Posted January 25 Quote is it possible to do the same on mobile? I have updated my posted code. Let us know how it goes. Herzberg6969 1 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.
Herzberg6969 Posted January 25 Author Posted January 25 @creedon Thanks Creedon, this worked on mobile—but now it's not working on desktop...
Herzberg6969 Posted January 25 Author Posted January 25 Actually, I think the old code was better. The new code doesn't let the shopping cart icon pop up on mobile, and on desktop it's not doing anything anymore. I didn't save the old code snippet, any chance you still have it? Thank you again for all your help!
creedon Posted January 26 Posted January 26 I have updated the code again. This effect is not active in SS Preview so as not to interfere with the editor. To test it use private browsing. Herzberg6969 1 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.
Herzberg6969 Posted January 26 Author Posted January 26 @creedon Works perfectly now! You're the man! Thanks again! creedon 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment