WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
How to left-justify form elements? (3 posts)

  1. mugwumper
    Member
    Posted 2 years ago #

    I've built a Contact Form 7 form, which works fine. However, all the form elements
    are centered on the page, even though the body of text preceding it is left-justified.

    How do I get the form to be left-justified?

    Thanks . . .

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

  2. mugwumper
    Member
    Posted 2 years ago #

    I was able to solve this by adding <p align="left"> in front of every form element - not very elegant, but it works. I thought I could get away with one at the beginning of the form, but it only fixed the first element.

    Isn't there a better way to do this?

    Thanks . . .

  3. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    The thing is, the interplay between CF7 settings, and your theme's built in form css elements can come up with some bad alignment and other PITA stuff.

    http://vudu.me/4o
    You can check that out to see if it sparks any ideas for you. It's the process I went through a while ago getting CF7 to work well with 2010 theme

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic