ameliamacpherson Posted August 26, 2019 Share Posted August 26, 2019 Hello,Working on a website and I would like the secondary navigation to only appear on the 'shop' page, not on every page. Any help would be greatly appreciated! Link to website: https://mackerel-endive-atgz.squarespace.comTemplate: Jones (York family) Thanks! Link to comment
tuanphan Posted August 26, 2019 Share Posted August 26, 2019 @ameliamacpherson Add to Home > Design > Custom CSS :not(#collection-5d4f9960bb5b91000170536f) div#secondaryNavWrapper { display: none; } Reference: https://beaverhero.com/tag/york-family/ 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
ameliamacpherson Posted August 26, 2019 Author Share Posted August 26, 2019 Thanks @tuanphan , it doesn't seem to work. On all pages the secondary navigation appears for a few seconds and then disappears. Link to comment
ameliamacpherson Posted August 26, 2019 Author Share Posted August 26, 2019 Thanks @tuanphan , it doesn't seem to work. On all pages the secondary navigation appears for a few seconds and then disappears. Link to comment
tuanphan Posted August 26, 2019 Share Posted August 26, 2019 @ameliamacpherson Try inserting this code into HEADER <style> :not(#collection-5d4f9960bb5b91000170536f) div#secondaryNavWrapper { display: none; } </style> 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
ameliamacpherson Posted August 26, 2019 Author Share Posted August 26, 2019 @tuanphan it worked, thank you! Link to comment
ameliamacpherson Posted August 26, 2019 Author Share Posted August 26, 2019 @tuanphan it worked, thank you! Link to comment
tuanphan Posted August 26, 2019 Share Posted August 26, 2019 @ameliamacpherson You can accept answer & upvote. Thanks. 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
paul2009 Posted August 29, 2019 Share Posted August 29, 2019 Please note that this will appear to work whilst you are logged on to your site, but it won't work for visitors to the site. The secondary nav will never appear. You can try it by visiting your site from an incognito window. 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.