jsh0re Posted November 8, 2023 Share Posted November 8, 2023 The background for the form/field error is red by default. I'd like to change this. Googling around offered some snippets that did nothing. Any CSS solution for this? (Squarespace 7.1.) Link to comment
tuanphan Posted November 10, 2023 Share Posted November 10, 2023 You can add this code to Website > Website Tools (under Not Linked) > Custom CSS div.field-error { background-color: black !important; } 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
jsh0re Posted November 11, 2023 Author Share Posted November 11, 2023 Thanks @tuanphan However, this doesn't seem to do the trick and I'm still getting white text on red background. Currently my Custom CSS field looks like this: Quote .header .header-burger { display: none !important; } /* Change the error message text color */ .form-item-error { color: blue; } div.field-error { background-color: black !important; } Link to comment
Solution melody495 Posted November 11, 2023 Solution Share Posted November 11, 2023 Hi, please share a link to your website so we can help easier -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd 💻 💁♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn? 👩💻 💁♀️ Website help <- send me your to-do list. From code to plugin to domain setup. 🧰 See the tools I use (contain affiliate links) ☕ Did I help? I like coffee (Thank you) Link to comment
jsh0re Posted November 12, 2023 Author Share Posted November 12, 2023 @melody495 Here you go: http://www.joonasranta.com/ Link to comment
melody495 Posted November 12, 2023 Share Posted November 12, 2023 2 hours ago, jsh0re said: Here you go: http://www.joonasranta.com/ Try this in your Custom CSS instead .sqs-block-form .form-field-error { background-color: black !important; } Let me know how it goes. -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd 💻 💁♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn? 👩💻 💁♀️ Website help <- send me your to-do list. From code to plugin to domain setup. 🧰 See the tools I use (contain affiliate links) ☕ Did I help? I like coffee (Thank you) Link to comment
jsh0re Posted November 12, 2023 Author Share Posted November 12, 2023 @melody495, this one worked. Thanks a lot! melody495 1 Link to comment
melody495 Posted November 12, 2023 Share Posted November 12, 2023 You're welcome, glad it worked! -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd 💻 💁♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn? 👩💻 💁♀️ Website help <- send me your to-do list. From code to plugin to domain setup. 🧰 See the tools I use (contain affiliate links) ☕ Did I help? I like coffee (Thank you) Link to comment
jcrawfy Posted November 13, 2023 Share Posted November 13, 2023 Very helpful! Anyone know how to also target the little error icon color too? Link to comment
melody495 Posted November 13, 2023 Share Posted November 13, 2023 7 hours ago, jcrawfy said: Very helpful! Anyone know how to also target the little error icon color too? Hi, please share a link to your website so we can check easier -------- > 👆 <---------- Please quote or @ me when replying, or I won't get a notification Melody | Squarespace Nerd 💻 💁♀️ 1-2-1 Squarespace Training session <- feeling stuck and want to learn? 👩💻 💁♀️ Website help <- send me your to-do list. From code to plugin to domain setup. 🧰 See the tools I use (contain affiliate links) ☕ Did I help? I like 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