autummmm Posted April 1, 2020 Share Posted April 1, 2020 Site URL: http://https/pentagon-flugelhorn-7ba3.squarespace.com/ Hi there! I currently have all buttons on my site set to utilize the hover functionality. When you hover, the button background color is HSL 251°, 74%, 45% or #3d1ec8 with a white font. On my Home page, I have two buttons: "Learn How I Can Help You" and "Contact Me". I would like for both of these button to NOT have a hover feature but rather just have the button background color be HSL 251°, 74%, 45% or #3d1ec8 with a white font regardless of whether or not you're hovering (like the attached file of the "Contact Me" button) What is the necessary code and where do I input? Many thanks! Link to comment
tuanphan Posted April 2, 2020 Share Posted April 2, 2020 Add to Home > Design > Custom CSS a.btn.btn--border.theme-btn--primary-inverse, div#block-aa8c641448dd694bc379 a { background: transparent !important; color: #3d1ec8 !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
autummmm Posted April 2, 2020 Author Share Posted April 2, 2020 @tuanphan Thank you so very much for the quick reply! I plugged in the code and the only change I've noticed is that the phone number button in the header and the "Learn How I Can Help You" button don't change color when you hover on them... The button still doesn't have a consistent background color. To confirm, my goal is to have the "Learn How I Can Help You" button stay permanently purple with white writing regardless of whether or not you're hovering. Note: I'd now like to only change this one button ("Learn How I Can Help You")instead of that one + "Contact Me" Do you have another coding suggestion? Link to comment
autummmm Posted April 3, 2020 Author Share Posted April 3, 2020 I actually figured it out! Thank you! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.