not_so_new Posted April 4, 2023 Share Posted April 4, 2023 Hey everyone Is there a way to change the background color of the "submit" button on a form? I want the submit button to have white letters on a black background and right now it's exactly the opposite. The rest of the buttons on my site are right so it seems like the form button isn't following the site wide styles. Is this something that can be controlled with custom code and if so..... what would that look like? Thanks in advance! Link to comment
tuanphan Posted April 8, 2023 Share Posted April 8, 2023 Hi, Can you share link to page where you use form? We can help easier You can also try adding this to Design > Custom CSS div.form-block { background-color: black !important; color: 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
not_so_new Posted April 15, 2023 Author Share Posted April 15, 2023 Hi Tuanphan The site is here... https://crowfeatherproductions.com/contact And thanks for the CSS but that's not exactly what I am looking for. I don't want the whole form to have a background. I just want the "click here to email" button to be black not white (like it is now). Thoughts? Thanks again Link to comment
Solution AndyB Posted April 15, 2023 Solution Share Posted April 15, 2023 This should do the trick. In Custom CSS: form input.button { background: #000 !important; color: #fff !important; } ...OR... In the page header: <style> form input.button { background: #000 !important; color: #fff !important; } </style> tuanphan 1 Looking for help with a project? 💻 www.connectionmadedesign.com ✅ for hire on Upwork (Top Rated Plus) Link to comment
not_so_new Posted April 16, 2023 Author Share Posted April 16, 2023 Thanks Andy! That's exactly what I needed. AndyB 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