Jump to content

drop shadow code for all buttons

Recommended Posts

@AirleaEvary try this in your custom CSS:

.sqs-add-to-cart-button, .sqs-editable-button, .sqs-editable-button-style, .sqs-button-element--primary {
	box-shadow: 10px 10px 5px 0px rgba(158,154,154,.75);
}

You may find you need to add a few additional targets as you explore the site, but that should cover most of them.

The box shadow I chose is the same as the one already on your homepage for the "learn more about Janet" button", just FYI.

Let me know if that works?

Link to comment
20 hours ago, SaranyaDesigns said:

@AirleaEvary try this in your custom CSS:

.sqs-add-to-cart-button, .sqs-editable-button, .sqs-editable-button-style, .sqs-button-element--primary {
	box-shadow: 10px 10px 5px 0px rgba(158,154,154,.75);
}

You may find you need to add a few additional targets as you explore the site, but that should cover most of them.

The box shadow I chose is the same as the one already on your homepage for the "learn more about Janet" button", just FYI.

Let me know if that works?

Thanks! This worked great on the Add to Cart buttons!

The only button that seems to be missing from my code now is the Shopping Cart button on the header. Any clue ?

Link to comment
6 minutes ago, AirleaEvary said:

Thanks! This worked great on the Add to Cart buttons!

The only button that seems to be missing from my code now is the Shopping Cart button on the header. Any clue ?

You can use this, note that !important is used because the current header button has the box-shadow: none

.sqs-add-to-cart-button, .sqs-editable-button, .sqs-editable-button-style, .sqs-button-element--primary, .header-actions-action--cart a {
	box-shadow: 10px 10px 5px 0px rgba(158,154,154,.75) !important;
}

image.thumb.png.2fb36c023380b66ced31d62c0cc9fc9c.png

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.