Jump to content

custom css to add drop shadow to home page font

Recommended Posts

Hi all,

I am using the Margot template and trying to add a drop shadow to the title and body font on the home page gallery - currently it is a white font that overlays a full bleed image, but it's not very visible over some images. I tried adding this to the custom css panel:

#collection-6543250884755962a0ee393e body  {
  text-shadow: 2px 2px 1px 

 rgba(0,0,0,.6);
}

but that didn't work. It does affect all the fonts on the website if I remove the collection tag. I just don't know how to narrow it down to just that front-page text. Appreciate any help!

Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.