Jump to content

Custom Background Colour to Auto Layout Simple List

Recommended Posts

Site URL: https://goodgriefcare.squarespace.com/

Hi,

I am using the new auto layout (simple list) and wanted to know if there is a way to have a different background for each card. Right now the setting only let you choose one colour for the background. I couldn't find how to target each card individually in Chrome Inspect. This is for the home page.

url: https://goodgriefcare.squarespace.com/

pw: 4%*MSms4

 

Thank you so much.

Link to comment
On 9/28/2021 at 9:49 PM, michael2019 said:

Site URL: https://goodgriefcare.squarespace.com/

Hi,

I am using the new auto layout (simple list) and wanted to know if there is a way to have a different background for each card. Right now the setting only let you choose one colour for the background. I couldn't find how to target each card individually in Chrome Inspect. This is for the home page.

url: https://goodgriefcare.squarespace.com/

pw: 4%*MSms4

 

Thank you so much.

Try in Design > Custom Css

section[data-section-id="60f8da3d24c5f82eff4e1c5d"] li:first-child {
  background:red !important;
}

section[data-section-id="60f8da3d24c5f82eff4e1c5d"] li:nth-child(2) {
  background:blue !important;
}

section[data-section-id="60f8da3d24c5f82eff4e1c5d"] li:last-child {
  background:pink !important;
}

Change the background values/url images that meet your style.

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Here is my configuration for each card

image.thumb.png.c34ce8438da3651ac6a19ea4ba0e28ee.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

One more thing, you can get the right Id selector by using the Squarespace ID Finder Extension

Here is the steps that I follow to find your ID in your site https://recordit.co/Aj9vXw6rfY

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.