Jump to content

Remove grey background on image when using 'Card' layout

Recommended Posts

Posted

We have added an image onto a page and styled using rh 'Card' layout.  Teh image has a transparent background but SQS automatically adds a grey background.  If we change to 'Inline' Style then the grey disappears and it looks fine, but any other layout for the image, the grey background appears.  I'm trying to add code to remove that but not sure what to use.

The specific block is: #block-yui_3_17_2_1_1718875039409_3548

 

I have tried adding background-color: none; but that didn't work.

  • Replies 5
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Posted
47 minutes ago, interactionld said:

We have added an image onto a page and styled using rh 'Card' layout.  Teh image has a transparent background but SQS automatically adds a grey background.I'm trying to add code to remove that but not sure what to use.

Hi @interactionld You can change this in Site Styles.

Site Styles > Colors > select appropriate theme > find IMAGE BLOCK: CARD > Image Overlay > change the colour, or set transparency to zero for no overlay.

Let me know how it goes.

image.png.40fb7c02817b9fa04ebe1be5422f3b1d.png

 

-------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification 

Melody | Squarespace Nerd

💻 💁‍♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn?
👩‍💻 💁‍♀️ Website help <- send me your to-do list. From code to plugin to domain setup.
🧰 See the tools I use (contain affiliate links)
 Did I help? I like coffee (Thank you)

Posted
1 hour ago, interactionld said:

oh my gosh, thank you.  So obvious now!

You are very welcome! It's one of those things, once you know, you know 🙂

Please give my post a thumbs up and mark as the solution to help others find the answer easier. Thank you!

-------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification 

Melody | Squarespace Nerd

💻 💁‍♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn?
👩‍💻 💁‍♀️ Website help <- send me your to-do list. From code to plugin to domain setup.
🧰 See the tools I use (contain affiliate links)
 Did I help? I like coffee (Thank you)

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.