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;

}

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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.