not_so_new Posted April 4 Share Posted April 4 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 Share Posted April 8 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 How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
not_so_new Posted April 15 Author Share Posted April 15 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 Solution Share Posted April 15 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 Link to comment
not_so_new Posted April 16 Author Share Posted April 16 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