Jump to content

CSS (Display: none;) doesn't work

Recommended Posts

Hello, 

I am using Shopify for my website and want the cart icon to be visible on all my website pages. To do this I had to add a buy-button (the green 'add to cart' button) in the footer of my website. I want this buy-button to be invisible and have used the (display: none;) code for this. However, the code doesn't do anything. 

How do I make the buy-button invisible? Am I doing something wrong? 

1585467017_WhatsAppImage2021-11-09at11_19_34.thumb.jpeg.bd8f78c61a94f41bba1d03640c1c13ac.jpeg

Link to comment
8 minutes ago, TiffanyZ said:

Hello, 

I am using Shopify for my website and want the cart icon to be visible on all my website pages. To do this I had to add a buy-button (the green 'add to cart' button) in the footer of my website. I want this buy-button to be invisible and have used the (display: none;) code for this. However, the code doesn't do anything. 

How do I make the buy-button invisible? Am I doing something wrong? 

1585467017_WhatsAppImage2021-11-09at11_19_34.thumb.jpeg.bd8f78c61a94f41bba1d03640c1c13ac.jpeg

try lowercase

{

display: none;

}

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.