Jump to content

Is there a way to add a drop shadow to all images (including gallery images), but exclude captions?

Recommended Posts

I would like to add the same drop shadow to all my images, including those in a gallery.

I am currently using:

.image-block {
  filter: drop-shadow(5px 5px 8px #000000);
}

But that only works on non-gallery images and also gives the caption a drop shadow which I don't want.

Thanks

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

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.