springerdesign Posted February 15, 2022 Posted February 15, 2022 Site URL: https://www.springerdesign.biz/ Hi there, I have a commerce page on my site that is sort of separate from the purpose of the rest of the site. I would like to keep my commerce page going, but remove the cart icon from all of the other pages of my site. Can someone help me figure out how to do that? Thanks! -Jesse
Solution creedon Posted February 15, 2022 Solution Posted February 15, 2022 Add the following to Design > Custom CSS. /* hide cart on all pages */ .Cart { display : none; } /* show cart on some pages */ .collection-type-products .Cart, /* products page */ #cart .Cart /* cart page */ { display : block; } This is for v7.0 using the Brine template family. Let us know how it goes. VeredBrett and tuanphan 2 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.
springerdesign Posted February 15, 2022 Author Posted February 15, 2022 2 hours ago, creedon said: Add the following to Design > Custom CSS. /* hide cart on all pages */ .Cart { display : none; } /* show cart on some pages */ .collection-type-products .Cart, /* products page */ #cart .Cart /* cart page */ { display : block; } This is for v7.0 using the Brine template family. Let us know how it goes. Hi creedon, that worked brilliantly, thank you! -Jesse tuanphan and creedon 1 1
VeredBrett Posted September 2, 2023 Posted September 2, 2023 Hi Creedon - thanks for the code - I need your help with it as I'm new to this. I also want to hide the cart icon on specific store pages on my site. How do I apply your code (besides copying it to my custom CSS)? A newbie here... what needs to be replaced with that? TIA
tuanphan Posted September 4, 2023 Posted September 4, 2023 On 9/2/2023 at 6:41 PM, VeredBrett said: Hi Creedon - thanks for the code - I need your help with it as I'm new to this. I also want to hide the cart icon on specific store pages on my site. How do I apply your code (besides copying it to my custom CSS)? A newbie here... what needs to be replaced with that? TIA Add it to Store Page Settings > Advanced > Code Injection Header <style> .Cart { 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment