peachanddot Posted March 3, 2021 Posted March 3, 2021 Site URL: https://peachanddot.com/ Hi, Do you know how to change the hover text for my sign up forms (both can be seen on this page (https://peachanddot.com/freebies) from black to white (so it matches the rest of the buttons on the site). I've managed to change the rest of the buttons with this tweak: /* BUTTON TEXT TWEAK */ .sqs-block-button-element{ color: #ef7b7b !important; background: #ffffff !important; background-color: rgba(0, 0, 0, 0) !important; border: 2px solid #ef7b7b !important; &:hover { color: #ffffff!important; background: #ef7b7b !important; border: 2px solid #ef7b7b !important; }} .form-wrapper input[type=submit]:hover { color: #ffffff !important; background-color: #ef7b7b !important; } Thanks! Beyondspace 1
Solution Beyondspace Posted March 3, 2021 Solution Posted March 3, 2021 19 minutes ago, peachanddot said: Site URL: https://peachanddot.com/ Hi, Do you know how to change the hover text for my sign up forms (both can be seen on this page (https://peachanddot.com/freebies) from black to white (so it matches the rest of the buttons on the site). I've managed to change the rest of the buttons with this tweak: /* BUTTON TEXT TWEAK */ .sqs-block-button-element{ color: #ef7b7b !important; background: #ffffff !important; background-color: rgba(0, 0, 0, 0) !important; border: 2px solid #ef7b7b !important; &:hover { color: #ffffff!important; background: #ef7b7b !important; border: 2px solid #ef7b7b !important; }} .form-wrapper input[type=submit]:hover { color: #ffffff !important; background-color: #ef7b7b !important; } Thanks! try this .newsletter-block .newsletter-form-button:hover { color: #fff !important; } peachanddot and tuanphan 2 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
tuanphan Posted March 7, 2021 Posted March 7, 2021 On 3/4/2021 at 9:15 PM, peachanddot said: Yes, that did the trick, thanks a lot! On tablet, I see huge white spacing here. Add this to Design > Custom CSS /* freebies tablet spacing */ @media screen and (max-width:991px) and (min-width:768px) { div#block-yui_3_17_2_1_1613757506563_7292 { display: none; } div#block-yui_3_17_2_1_1613757506563_15814 { display: none; } } peachanddot 1 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!)
peachanddot Posted June 14, 2021 Author Posted June 14, 2021 Thanks Tuanphan, I didn't realise but got it fixed now! tuanphan 1
garlandehaney Posted October 18, 2023 Posted October 18, 2023 Hi @tuanphan! Just following up to this question - I'm trying to add a hover colour to the newsletter block button on this contact page, but it doesn't seem to be working. Any suggestions? https://www.megancrosbiedesign.com/contact-us Many thanks, Garlande
tuanphan Posted October 21, 2023 Posted October 21, 2023 On 10/18/2023 at 9:23 PM, garlandehaney said: Hi @tuanphan! Just following up to this question - I'm trying to add a hover colour to the newsletter block button on this contact page, but it doesn't seem to be working. Any suggestions? https://www.megancrosbiedesign.com/contact-us Many thanks, Garlande Use this CSS code #siteWrapper #block-yui_3_17_2_1_1697579163720_12621 .newsletter-form-button:hover { background: #272e2e !important; color: white !important; } garlandehaney 1 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!)
CMV_akp Posted November 14, 2023 Posted November 14, 2023 (edited) @tuanphan. This has been incredible helpful but I am missing something. I have two newsletter forms, one on my contact page and another in my footer. I was able to change the box in the footer to transparent and the text is white when the customer fills in their email address but the text "Email Address" will not change from black to white. I am also having the same issue with the contact form. I was able to change the text font showing and being typed except on the "Message" box. When you type your message the font color is still black. I have attached all the code that I have tried below and two screenshots. I am not super proficient at this and may have added too much in the CSS. div.form-block input:not([type="submit"]), div.form-block textarea { background-color: transparent !important; border: 1px solid white !important; input-font-color: white; } div.newsletter-form-field-wrapper input:not([type="submit"]), div.form-block textarea { background-color: transparent !important; border: 1px solid white !important; } .newsletter-block .newsletter-form-field-element { color:white!important; } .form-submission-text { color:white!important; } input { color:white!important; } .newsletter-form-field-element { background: transparent !important; border:1px solid white!important; } .newsletter-block .newsletter-form-field-element { color: white; } .newsletter-form-field-wrapper input:focus { color: white; } .form-submission-text { background: white; padding: 10px 20px; } .Footer .sqs-alternate-block-style-container .newsletter-block .newsletter-form-wrapper { background-color : transparent; .newsletter-form-header-title, .newsletter-form-header-description, .newsletter-form-footnote { color : white; } .newsletter-form-button { border-color : white !important; box-shadow : unset; } } body:not( .button-style-default ).button-style-outline .Footer .sqs-alternate-block-style-container .newsletter-block .newsletter-form-button { box-shadow : unset; color : white; &:hover { background-color : white; color : white; } } Edited November 14, 2023 by CMV_akp
tuanphan Posted November 18, 2023 Posted November 18, 2023 On 11/14/2023 at 11:27 PM, CMV_akp said: @tuanphan. This has been incredible helpful but I am missing something. I have two newsletter forms, one on my contact page and another in my footer. I was able to change the box in the footer to transparent and the text is white when the customer fills in their email address but the text "Email Address" will not change from black to white. I am also having the same issue with the contact form. I was able to change the text font showing and being typed except on the "Message" box. When you type your message the font color is still black. I have attached all the code that I have tried below and two screenshots. I am not super proficient at this and may have added too much in the CSS. div.form-block input:not([type="submit"]), div.form-block textarea { background-color: transparent !important; border: 1px solid white !important; input-font-color: white; } div.newsletter-form-field-wrapper input:not([type="submit"]), div.form-block textarea { background-color: transparent !important; border: 1px solid white !important; } .newsletter-block .newsletter-form-field-element { color:white!important; } .form-submission-text { color:white!important; } input { color:white!important; } .newsletter-form-field-element { background: transparent !important; border:1px solid white!important; } .newsletter-block .newsletter-form-field-element { color: white; } .newsletter-form-field-wrapper input:focus { color: white; } .form-submission-text { background: white; padding: 10px 20px; } .Footer .sqs-alternate-block-style-container .newsletter-block .newsletter-form-wrapper { background-color : transparent; .newsletter-form-header-title, .newsletter-form-header-description, .newsletter-form-footnote { color : white; } .newsletter-form-button { border-color : white !important; box-shadow : unset; } } body:not( .button-style-default ).button-style-outline .Footer .sqs-alternate-block-style-container .newsletter-block .newsletter-form-button { box-shadow : unset; color : white; &:hover { background-color : white; color : white; } } What is site url? We can check easier 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment