WordPress.org

Forums

contact form 7 : styling different-sized input text fields (2 posts)

  1. Max Sewell
    Member
    Posted 1 year ago #

    Hi,

    I have the following in my theme's style.css:

    input.wpcf7-text{
    width:425px;
    height:20px;
    }

    It works great.

    But I want to have another (smaller-sized) input text field for the zip code (e.g.):

    input.wpcf7-text-alt{
    width:225px;
    height:20px;
    }

    It doesn't work though.

    Does anyone know how I might style my input text fields differently?

    Thanks in advance.

  2. Max Sewell
    Member
    Posted 1 year ago #

    This seems to be the answer:

    http://www.wpsnippet.com/create-a-two-column-form-using-contact-form-7/


    [No need to copy that much code here - link above is sufficient]

Topic Closed

This topic has been closed to new replies.

About this Topic