Jump to content

How can I add a drop shadow to images?

Recommended Posts

Hi there. I am looking for a way to use code to add drop shadows to images. In the URL below, you can see a shadow, however this is part of the image itself, and not done with code. I have a lot more images to upload, and I'd like them to all have a similar shadow, but adding the shadow in photoshop prior to uploading is creating a lot of extra work. is it possible to add the shadow via code? Thank you


Link to comment
  • Replies 1
  • Views 227
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

You can give the images a simple shadow with this property in CSS:


But it'll add a square shadow to the image, it won't create a complex shape shadow that you can do in Photoshop.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.