Jump to content

Drop shadow on product images

Recommended Posts

  • Replies 11
  • Views 1.7k
  • Created
  • Last Reply

 

This should do it I think. If you don't use the block id (looks something like this 55342f9fe4b003aefe420900)  it will drop shadow every collection/grid on your site. This plug in for chrome is great, ids the blocks/pages of your site. https://chrome.google.com/webstore/detail/squarespace-collectionblo/bggpdfnccodbnmcndckmeehdjkjojkde?hl=en-US

Code goes into custom CSS

body#collection-block id goes here a.project .content-fill {
  background-color: #707B7C;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 15px rgba(100, 100, 100, 0.1) !important;
  -moz-box-shadow: 0px 0px 15px rgba(100, 100, 100, 0.1) !important;
  box-shadow: 0px 0px 15px rgba(100, 100, 100, 0.1) !important;
}

Link to comment
  • 6 months later...
On 12/15/2020 at 5:40 PM, TobiasM said:

Hi, 

I am trying to add a drop shadow to a Photo Book in my shop. Page template is BEAUMONT. I tried different codes from this forum but nothing worked. Can someone help? Thank you so much!!!

Tobias

Can you share link to shop page? We can help easier

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

Contact Customer Care - Learn CSS - Buy me a coffee (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.