Support » Themes and Templates » styling reset button for contact form 7

  • I added a reset button to my contact us form by adding this code.
    <input type=”reset” />
    How do I add css to style reset button. Please specify which css file do I add code.

Viewing 1 replies (of 1 total)
  • At the top of the contact form add in:

    <style>
    input[type="reset"] {width: 30px;}
    </style>

    Obviously you can add any standard css in place of the width parameter.

    -or-

    You can add to your child theme’s style.css

    input[type="reset"] {width: 30px;}

    with this you might want to add in a class to your individual contact form(s) so you can style them differently, such as:

    .brownform input[type="reset"] {width: 30px;}

    Hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘styling reset button for contact form 7’ is closed to new replies.