Okay
  Public Ticket #1003584
Contact Form 7 Input Field Formatting
Closed

Comments

  •  2
    wauger started the conversation

    Hello,

    I've noticed that the style formatting for form input fields seem to have the highest priority, so much so that I cannot override with custom css. 

    How can I create a new style class specific to my contact form 7 fields that allow me to set a custom background color, text color, input width size, and button formatting?

    Here is what the fields look like right now by default. Any help and custom CSS you can provide to override the theme defaults is appreciated. Thanks!

  •  3,030
    Andrew replied

    Hi Wauger, 

    Thanks for reaching out. 

    The Contact Form 7 plugin uses this class in it's surrounding div and within its elements: .wpcf7

    So if you are specifically targeting the fields there place that before your CSS selectors. 

    Let me know if you need more help with this, I'd be happy to help with some simple CSS. 

    Cheers