WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] [Plug In: Contact Form 7] Cannot change text field/area size for sidebar (2 posts)

  1. AlieneGirl
    Member
    Posted 9 months ago #

    Hi there,
    I need to shorten the width of the form in the sidebar. I used the maxlength and size fields to specify the size but the form in the sidebar is not resizing.

    (See the sidebar layout issue here:
    live site: http://modernrestaurant.com/parties/
    snapshot: http://postimg.org/image/h77v0hibx/)

    (See the code for the form here: http://postimg.org/image/dguwfrcfl/)

    I read that I can change the sidebar css but I don't want to affect all of the forms, only the sidebar. I am also using CF7 for other forms on my site that do not need resizing.

    Please help me figure out what is going on, I've been at this for hours!
    Also the email field does not have the same styling as the rest of the fields, where can I make the change for that?

    Thanks!

    http://wordpress.org/plugins/contact-form-7/

  2. AlieneGirl
    Member
    Posted 9 months ago #

    I decided to just change the form throughout the site and used this code to change it:

    .wpcf7 input[type="text"] {width:200px;}
    .wpcf7 textarea.wpcf7-textarea { width:200px;}

Reply

You must log in to post.

About this Plugin

About this Topic