madseason Posted October 1, 2022 Posted October 1, 2022 (edited) I have the below css code for a button. When the button is hovered it will outline the button in white. When I move the mouse off of hover, I get a bit of blue at the bottom of the button. How do I remove the blue at the bottom of the button? /* add to cart button */.sqs-add-to-cart-button:before { background-color: #000000 !important;}.sqs-add-to-cart-button:hover:before { border-color: #ffffff !important; background-color: #000000 !important; }.sqs-add-to-cart-button:hover .sqs-add-to-cart-button-inner { color: #ffffff; } Edited October 1, 2022 by madseason
Beyondspace Posted October 3, 2022 Posted October 3, 2022 On 10/1/2022 at 10:01 PM, madseason said: I have the below css code for a button. When the button is hovered it will outline the button in white. When I move the mouse off of hover, I get a bit of blue at the bottom of the button. How do I remove the blue at the bottom of the button? /* add to cart button */.sqs-add-to-cart-button:before { background-color: #000000 !important;}.sqs-add-to-cart-button:hover:before { border-color: #ffffff !important; background-color: #000000 !important; }.sqs-add-to-cart-button:hover .sqs-add-to-cart-button-inner { color: #ffffff; } It seems fine now, right? https://www.awesomescreenshot.com/video/11477776?key=be16818f4776e05d46f8be492ba4de4b madseason 1 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
madseason Posted October 3, 2022 Author Posted October 3, 2022 All is good now. Thanks for the follow-up! Beyondspace 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment