Jump to content

Fade "Continue Shopping" button to 50% opacity on hover

Recommended Posts

Posted
4 hours ago, amethystwallgallery said:

site: https://www.amethystwallgallery.com/

pass: Help123!

In an empty cart, I would like to have the "Continue Shopping" button fade to 0.5 opacity when I hover over it, but I can't for the life of me figure out the right combination of selectors to use to actually target it. Any help would be much appreciated!

Bonus points if my hero @tuanphan could weigh in! 😅

image.thumb.png.5921fe811018b5a6728bba0b0c962073.png

You can try adding to Home > Design > Custom Css

#sqs-cart-root [aria-label="Continue Shopping"]:hover {
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

Let me know how it works on your site

Support me by pressing 👍  or marking as solution if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

Posted
21 minutes ago, Beyondspace said:

You can try adding to Home > Design > Custom Css

#sqs-cart-root [aria-label="Continue Shopping"]:hover {
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

Let me know how it works on your site

Support me by pressing 👍  or marking as solution if this useful for you

This works perfectly, thank you!!!

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.