harlowbogie Posted December 18, 2023 Share Posted December 18, 2023 Hi! I inserted this code for my buttons however I want to use something different when the button is on a background-color of #222. In that instance, I want that button to have a white border. How can I do that? Thanks in advance! https://coral-elk-m3e7.squarespace.com/ password: yoga /* Buttons hover */ .sqs-block-button-element:hover { background-color:#222 !important; color:#fff !important; opacity: 1 !important; } Link to comment
Solution tuanphan Posted December 19, 2023 Solution Share Posted December 19, 2023 Change your code to this /* Buttons hover */ .sqs-block-button-element:hover { background-color:#222 !important; color:#fff !important; opacity: 1 !important; border: 2px solid white !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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment