Jump to content

How do you change background color of specific image card. Please Help

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://www.alexisaligns.com/latest-homepage?noredirect

Hello,

I am trying to target the background of specific image card details to change the color. See image below for a mock up designed that I am trying to recreate. I'm having trouble targeting that specific area to change the background color of each image card. Website URL: https://www.alexisaligns.com/latest-homepage?noredirect

image.png.f8a9c7fe06076708b78127650cbdb704.png

Please assist!

Edited by Dhowbearcat
Link to comment
  • Replies 2
  • Views 318
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

Add to Design > Custom CSS

/* Let work together images */
div#block-yui_3_17_2_1_1645672729526_28334 figure {
    background-color: #f1f2f3;
	padding-left: 10px;
}
div#block-yui_3_17_2_1_1645672729526_29501 figure {
    background-color: #f1f;
	padding-right: 10px;
}
div#block-yui_3_17_2_1_1645672729526_30488 figure {
    background-color: #f2f2f2;
    padding-left: 10px;
}

Find image block id with https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en

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

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.