Jump to content

Image Card Box Shadow

Recommended Posts

Site URL: https://bassoon-crocodile-e6be.squarespace.com/

Hi all, 

I have applied a box shadow to one of my image cards, however I have noticed that the corner (circled in image) has no shadow showing. 

My eyeballs can't handle the inconsistency, so I'm wondering if anyone can help me with this. 
I have added a code snippet below and website details. 
 

.image-block-outer-wrapper.design-layout-card {
box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2), 0 5px 20px 0 rgba(0, 0, 0, 0.01);
}


Thanks in advance!

-- 


Details: 

Website: https://bassoon-crocodile-e6be.squarespace.com/
Password: password

Screen Shot 2021-02-20 at 3.26.49 pm.png

Edited by jessjessanderson
Link to comment
33 minutes ago, jessjessanderson said:

Site URL: https://bassoon-crocodile-e6be.squarespace.com/

Hi all, 

I have applied a box shadow to one of my image cards, however I have noticed that the corner (circled in image) has no shadow showing. 

My eyeballs can't handle the inconsistency, so I'm wondering if anyone can help me with this. 
I have added a code snippet below and website details. 
 


.image-block-outer-wrapper.design-layout-card {
box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2), 0 5px 20px 0 rgba(0, 0, 0, 0.01);
}


Thanks in advance!

-- 


Details: 

Website: https://bassoon-crocodile-e6be.squarespace.com/
Password: password

Screen Shot 2021-02-20 at 3.26.49 pm.png

 

#block-yui_3_17_2_1_1613769163682_51557 .image-block-outer-wrapper.design-layout-card {
    box-shadow: 0 4px 15px 0 rgb(0 0 0 / 20%), 0 5px 20px 0 rgb(0 0 0 / 1%);
    z-index: 9999;
}

Add this into your snippet

image.thumb.png.ac359be11efb5c99c1dd5e4c28533aa9.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
2 minutes ago, jessjessanderson said:

It's unfortunately not working for me, it seems to have a problem with the rgb element

I just added the line 

z-index: 9999;

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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.