msdema Posted January 14 Share Posted January 14 (edited) Hello- I used CSS long ago to change the cart on my website to a custom icon. I noticed recently that the quantity does not show. I may have done something in my custom CSS that hides it, but since it was long ago I can't seem to figure it out. This is the code I currently have (I have Brine 7.0 btw): // Cart Image // .Cart-inner *{ visibility: hidden; } .Cart-inner{ visibility: visible; width: 75px; height: 75px; content: ""; background: url(https://static1.squarespace.com/static/57505fc44d088e7a8a88a704/t/64c400302f2e5c00f4018a7c/1690566705638/silver.png) center center no-repeat; background-size: contain; display: inline-block; } Is there anything I need to add or change to make this visible again? Thank you!! Edited January 14 by msdema typo ("on" to "or") Link to comment
sorca_marian Posted January 14 Share Posted January 14 The code is hiding the default content. Please send the link and I will update the code to show the quantity. 👨🔧👨💻 Contact me for development work - I’m a Freelancer Software engineer, Architect, and Designer UI/UX 🙋♂️ Squarespace Custom Web Development & Design 📅 Manage Tasks, Take Notes, and Upload Related Images 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 200 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn Link to comment
msdema Posted January 14 Author Share Posted January 14 link the main shopping page is http://www.mimiceramics.com/shop-all Thank you! Link to comment
Solution sorca_marian Posted January 14 Solution Share Posted January 14 Just replace the first part of the code with the below one .Cart-inner *:not(.sqs-cart-quantity) { visibility:hidden; } 👨🔧👨💻 Contact me for development work - I’m a Freelancer Software engineer, Architect, and Designer UI/UX 🙋♂️ Squarespace Custom Web Development & Design 📅 Manage Tasks, Take Notes, and Upload Related Images 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 200 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn Link to comment
msdema Posted January 15 Author Share Posted January 15 Amazing thank you, that worked!! I really appreciate it 🙂 sorca_marian 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