michael2019 Posted September 28, 2021 Share Posted September 28, 2021 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
Beyondspace Posted October 1, 2021 Share Posted October 1, 2021 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. michael2019 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted October 1, 2021 Share Posted October 1, 2021 Here is my configuration for each card michael2019 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Beyondspace Posted October 1, 2021 Share Posted October 1, 2021 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 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
michael2019 Posted October 2, 2021 Author Share Posted October 2, 2021 Thank you so much. I use the same Squarespace ID Finder, it's great. I got stuck with li:first-child, li:nth-child (2), and li:last-child. This was really helpful. Beyondspace 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment