msdema Posted January 14 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")
sorca_marian Posted January 14 Posted January 14 The code is hiding the default content. Please send the link and I will update the code to show the quantity. 👨🔧👨💻 Squarespace plugins 🙋♂️ Squarespace Custom Web Development & Design Services 📅 Todoist alternative | Increase your Productivity 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 300 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn
msdema Posted January 14 Author Posted January 14 link the main shopping page is http://www.mimiceramics.com/shop-all Thank you!
Solution sorca_marian Posted January 14 Solution Posted January 14 Just replace the first part of the code with the below one .Cart-inner *:not(.sqs-cart-quantity) { visibility:hidden; } 👨🔧👨💻 Squarespace plugins 🙋♂️ Squarespace Custom Web Development & Design Services 📅 Todoist alternative | Increase your Productivity 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 300 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn
msdema Posted January 15 Author Posted January 15 Amazing thank you, that worked!! I really appreciate it 🙂 sorca_marian 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment