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

  1. AlieneGirl
    Posted 2 years 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?



  2. AlieneGirl
    Posted 2 years 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;}

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic