Celeste_Woodside Posted October 4, 2022 Share Posted October 4, 2022 Site URL: http://www.theuselesscrafter.com/together-we-craft-xoxo-craftgirls Hi! I am trying to change the background color of cards in site styles and the color will not change. I have saved and refreshed and nothing is happening. Help! 🙂 Link to comment
joseph81 Posted October 4, 2022 Share Posted October 4, 2022 .user-items-list-simple[data-section-id="633c3edf33179f0db1580c64"] .list-item[data-is-card-enabled="true"] { background: red; } The code above is good if you want to modify background color for this specific section. The one below is if you want to change the variable overall: :root { Â Â Â --list-section-simple-card-color: red; } Â Jozsef Kerekes - Front-end developer and Squarespace enthusiast My Blog: https://ui-workarounds.comIf you like my answer, please give me an upvote/like. Highly appreciated. Â Â Link to comment
Celeste_Woodside Posted October 4, 2022 Author Share Posted October 4, 2022 @joseph81 you are brilliant. Thank you! Follow up question. 🙂 What about the color of the buttons and text on the cards? Those changes also not applying.... Link to comment
tuanphan Posted October 5, 2022 Share Posted October 5, 2022 8 hours ago, Celeste_Woodside said: @joseph81 you are brilliant. Thank you! Follow up question. 🙂 What about the color of the buttons and text on the cards? Those changes also not applying.... Use this code for button text .user-items-list-item-container[data-section-id="633c3edf33179f0db1580c64"] a.list-item-content__button { background-color: violet !important; color: green !important; } .user-items-list-item-container[data-section-id="633c3edf33179f0db1580c64"] p { color: gray; }  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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment