WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Contact Form 7 style (5 posts)

  1. Hans-Joachim Brosch
    Member
    Posted 3 years ago #

    Hi there,

    how can I change the width of all fields? I want to use the contact form in the sidebar (widget) but it is to wide.

    Thanks
    Joachim

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    Simply add styles for the fields to your theme's stylesheet.

  3. Hans-Joachim Brosch
    Member
    Posted 3 years ago #

    could you please advise with an example?

  4. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    #your-sidebar .wpcf7 input.wpcf7-text,
    #your-sidebar .wpcf7 textarea {
    	width: 20px;
    }

    like this. Obviously you need to change the #your-sidebar to the real id of your sidebar.

  5. Hans-Joachim Brosch
    Member
    Posted 3 years ago #

    Thanks a lot Takayuki Miyoshi! This helps a lot!!!
    Peace to you!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic