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

  1. mugwumper
    Posted 3 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 . . .


  2. mugwumper
    Posted 3 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 3 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.

    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

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

About this Topic