@media only screen and (max-width: 767px) {
div.wpforms-container-full .wpforms-form button[type=submit] {
margin: 0 auto !important;
display: block !important;
width: 100% !important;
}
}
I searched for a solution, applied the code in the CSS, and it didn’t work. That’s why I’m askingTook me a couple of seconds to search, please use Google, it could be useful ^^
Here you go:
Adjust as you wantCode:@media only screen and (max-width: 767px) { div.wpforms-container-full .wpforms-form button[type=submit] { margin: 0 auto !important; display: block !important; width: 100% !important; } }
Inspect the element while using incognito mode and check whenever it's the correct element(s) class,I searched for a solution, applied the code in the CSS, and it didn’t work. That’s why I’m asking
To make the WPForms button wider on mobile, add custom CSS with width: 100%; for the button element to ensure it spans the full screen width.