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

Link to comment
  • Replies 4
  • Views 470
  • Created
  • Last Reply
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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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
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;

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.