Jump to content

Trying to apply CSS shadow to an image block. Nothing seems to work.

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://aurmont.com

Hello,

I'm trying to apply most basic CSS shadow to an image block using the code below:

.sqs-block-image img {
  -webkit-box-shadow: 50px 50px 0px #000;
  -moz-box-shadow: 50px 50px 0px #000;
  box-shadow: 50px 50px 0px #000;
}

 

But nothing happens. I've tried targeting several different classes, but still no effect.

Your help would be greatly appreciated.

Edited by Aurmont
Link to comment
  • Solution
div#block-yui_3_17_2_1_1599027926986_4822>div {
    -webkit-box-shadow: 50px 50px 0px #000;
    -moz-box-shadow: 50px 50px 0px #000;
    box-shadow: 50px 50px 0px #000;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • pro changed the title to Trying to apply CSS shadow to an image block. Nothing seems to work.

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.