hanagara Posted February 19 Share Posted February 19 Hi! I'm trying to modify the hover state color of the submit button of a form on my website, but for some reason it stays the same. I've searched for this issue in the forums and tried the solutions I found in previous posts but it doesn't work on my site (which isn't published yet). I currently have the below code in my css from a previous forum thread on this issue. This is the same code as for my other buttons and how I want it to look but it stays with a black fill as the hover state regardless. .form-wrapper input[type=submit] { border-color:#6819CF!important; background: transparent!important; text-decoration:none!important; color:#6819CF!important; } .form-wrapper input[type=submit]:hover { border-color:#6819CF!important; background: transparent!important; text-decoration:none!important; color:#6819CF!important; } Link to comment
hanagara Posted February 20 Author Share Posted February 20 Could someone please help with this? Much appreciated! Link to comment
Solution tuanphan Posted February 21 Solution Share Posted February 21 Try this id div.form-block button If it still doesn't work, you can share link to page in screenshot, we can check its id easier Jennifer43254 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
hanagara Posted March 8 Author Share Posted March 8 Thank you @tuanphan this worked! 😊 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