AirleaEvary Posted November 3, 2023 Posted November 3, 2023 Hello! I've tried several code sets now and none seem to work. I need to add a drop shadow to all the button types on my site. anyone have a functional code for this?
SaranyaDesigns Posted November 3, 2023 Posted November 3, 2023 @AirleaEvary can you post a link to your site so we can have a closer look?
AirleaEvary Posted November 6, 2023 Author Posted November 6, 2023 (edited) www.thejanimalstore.com password Artist2023 Edited November 6, 2023 by AirleaEvary
SaranyaDesigns Posted November 6, 2023 Posted November 6, 2023 @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?
AirleaEvary Posted November 7, 2023 Author Posted November 7, 2023 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 ?
Beyondspace Posted November 7, 2023 Posted November 7, 2023 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; } SaranyaDesigns 1 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment