Jump to content

CSS (Display: none;) doesn't work

Recommended Posts

Posted

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

  • Replies 2
  • Views 375
  • Created
  • Last Reply
Posted
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;

}

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.