styling reset button for contact form 7 (2 posts)

  1. jahur
    Posted 2 years ago #

    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.

  2. grace_8765
    Posted 2 years ago #

    At the top of the contact form add in:

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

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


    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.

Topic Closed

This topic has been closed to new replies.

About this Topic