Responsive, Full-Width Submit Button
-
Hello.
We’ve styled a simple form with WPforms and I’m not sure how to make the Submit button responsive for mobile devices.
I’m trying to make the “submit” button the full length of the field containers for a streamline look. I’ve tried setting the width to 100%, setting the margin to “0 auto” and setting a max-width. I’m not sure if some of my existing style code is working against it?
Here’s the page the form is on: https://dalaigroup.com/contact-us
This is the additional CSS we currently have. I’m not sure if I missed a symbol, but it was unresponsive when I tried to set a max-width, margin auto, width 100%, etc. Is there anything else I can do? Thank you for your time inspecting it.
/#wpforms-15468 .wpforms-submit {
width: 750px !important;
margin: 0 auto !important;
border-radius: 600px !important;}#wpforms-15468 .wpforms-form input, .wpforms-form textarea{
border: none !important;
border-bottom: 1px solid #cbcbcb !important;
}#wpforms-15468 .wpforms-form textarea{
height: 38px !important;
resize: none !important;
}
- The topic ‘Responsive, Full-Width Submit Button’ is closed to new replies.