Drop Shadow Images Inside Blog

grey_ghost.png

Description

Add a drop shadow to image blocks within any blog post. This plugin uses css editor and works with all template families in Squarespace 7.0.


How To Install

From your Squarespace account, go to the Custom CSS Editor. Copy and paste the code below into the Custom CSS Editor box.

// Drop Shadow Images - Inside Blog //

.view-item.collection-type-blog .image-block { 
     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

// Footer Images - Remove Drop Shadow //

.Footer .image-block {
  box-shadow: none !important;
}

Customize

Adjust the box shadow values to your liking.

The code will be applied to all image blocks inside the blog post, along with any in the site’s footer. Code is included to remove shadows from any images that may be in your site’s footer using the image block.


Previous
Previous

Super Easy Vertical Text

Next
Next

Border Inside Mobile Menu