madseason Posted October 1, 2022 Share 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 Link to comment
Beyondspace Posted October 3, 2022 Share 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 (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
madseason Posted October 3, 2022 Author Share Posted October 3, 2022 All is good now. Thanks for the follow-up! Beyondspace 1 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