hello_studiofrey Posted December 11, 2023 Share Posted December 11, 2023 Hello Could someone please help me how to change the background colour of the first card called Notfall? Attached the screenshot. We would like to differentiate the first step from the rest and I could only find how to exchange the backgrounds everywhere. Thank you so much! Natasa pw: NSA2023 Link to comment
JayVanDyke Posted December 11, 2023 Share Posted December 11, 2023 Hi @hello_studiofrey can you sure your url? I dont see it in the post. ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs Link to comment
hello_studiofrey Posted December 14, 2023 Author Share Posted December 14, 2023 @jaeveedee https://nsagarantie.squarespace.com/ thank you! Link to comment
JayVanDyke Posted December 15, 2023 Share Posted December 15, 2023 @hello_studiofrey this should work. Add to your Custom CSS [data-section-id="65798fa962771a6b7f4a6a5a"] { .list-item:first-child { background-color: #999; //change this to whatever color your need } } tuanphan 1 ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs Link to comment
hello_studiofrey Posted December 20, 2023 Author Share Posted December 20, 2023 @jaeveedee Thank you very much for your help, the ID was not correct but I exchanged it with the correct one and it works well. Would it be possible to change the colour of the Title as well? Here is the code I'm using for the background adjustments: section[data-section-id="655e25547b021336a79e6019"] .list-item:first-child { background-color: #dee0e8; } JayVanDyke 1 Link to comment
JayVanDyke Posted December 20, 2023 Share Posted December 20, 2023 @hello_studiofrey same section id and then you need something like this .list-item-content__title { color: #000; } ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs Link to comment
hello_studiofrey Posted December 21, 2023 Author Share Posted December 21, 2023 @jaeveedee unfortunately, the code is not working, could you please check if I'm doing something wrong? section[data-section-id="655e25547b021336a79e6019"] .list-item-content__title { color: #cf2f26; } Thank you very much! Link to comment
JayVanDyke Posted December 21, 2023 Share Posted December 21, 2023 @hello_studiofrey just needs to be more specific, see if this does it. section[data-section-id="655e25547b021336a79e6019"] .user-items-list-simple .list-item[data-is-card-enabled="true"] .list-item-content__title { color: #cf2f26; } tuanphan 1 ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs Link to comment
hello_studiofrey Posted January 3 Author Share Posted January 3 thank you for your help @jaeveedee however, the provided code changes the titles of the whole section, is it possible to do it only for the first item, the same like with the background colour? thank you very much! Link to comment
Solution JayVanDyke Posted January 3 Solution Share Posted January 3 @hello_studiofrey This should do it section[data-section-id="655e25547b021336a79e6019"] .user-items-list-simple .list-item[data-is-card-enabled="true"]:first-child .list-item-content__title { color: #cf2f26; } ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs Link to comment
hello_studiofrey Posted January 4 Author Share Posted January 4 @jaeveedee amazing, thank you so much a have a great day! 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