Unable to style button
-
Hi,
I’ve added a form on the homepage and I can stylize every input field except the submit button.
I need it same as the submit button as in https://www.spitiinterio.com/contact which has also been designed by me except it uses WPForm.
Now the only difference I see between both forms are:<ul> <li>WPForm uses <button type="submit"/> </li> <li>Contact Form 7 uses <input type="submit"/> </li> </ul>
An online forum has guided me to use
.wpcf7 input[type="submit"] { //style } .wpcf7 input:hover[type="submit"] { //style } .wpcf7 input:active[type="submit"] { //style }
But neither my class selectors or the above code seems to work except for the
box-shadow propertyI understand maybe as <input> is null element I cannot stylize it properly.
Any help to either fix the above issue or to guide me to add a <button type=”submit”> to my Contact Form 7 would be highly appreciated !
Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Unable to style button’ is closed to new replies.