hannahnowlan Posted June 2, 2023 Share Posted June 2, 2023 Hi, I have a footer newsletter block, and I wish to edit the button hover with CSS. The button has white text on a transparent background. Upon hover, the button has a white background with transparent text. I'm trying to remove the hover effect entirely, so the button stays white text transparent background when you click on it. No codes I have tried seem to work. button.newsletter-form-button.sqs-system-button:hover {opacity: 0 !important;} (This blanks out the button upon clicking, removing background and font, but I want to keep the font) Thanks for your help, URL: https://landerse.squarespace.com/ Site password: red Link to comment
hannahnowlan Posted June 2, 2023 Author Share Posted June 2, 2023 @tuanphan Would you be able to help? Link to comment
Solution tuanphan Posted June 8, 2023 Solution Share Posted June 8, 2023 Hi, Add this to Design > Custom CSS footer.sections button.newsletter-form-button.sqs-system-button.sqs-editable-button-layout.sqs-editable-button-style.sqs-editable-button-shape.sqs-button-element--primary { background-color: transparent !important; color: white !important; border-color: white !important; } hannahnowlan 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!) Link to comment
hannahnowlan Posted June 16, 2023 Author Share Posted June 16, 2023 Fantastic, Thanks so much for your help @tuanphan!! 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