WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Align form? (5 posts)

  1. angeljs
    Member
    Posted 2 years ago #

    Is there a way to align the forms to the center of the page/post? I've tried all ways but they still appear aligned to the left.

    Thanks

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

  2. aquaclearws
    Member
    Posted 2 years ago #

    to make all the text center aligned:

    in the form, before and after your field names, use

    <p align=center>Your Name (required)<br />
        [text* your-name] </p>

    for example.

  3. angeljs
    Member
    Posted 2 years ago #

    Hi, thanks, but I've already tried that :(

  4. mypcsolutions
    Member
    Posted 2 years ago #

    is there a way to make the form smaller?

  5. Maeve Lander
    Member
    Posted 1 year ago #

    I align easily by just adding div style to the form.

    Example:

    <div style="text-align: left">
    <p>Your Name (required)<br />
        [text* your-name] </p>
    
    <p>Your Email (required)<br />
        [email* your-email] </p>
    
    <p>Subject<br />
        [text your-subject] </p>
    
    <p>Your Message<br />
        [textarea your-message] </p>
    
    <p>[submit "Send"]</p>
    </div>

    Above is example showing the default Contact Form 7 form enclosed in a div with the alignment set.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.