WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Contact Form 7] Form elements center align (3 posts)

  1. iamchel
    Member
    Posted 5 years ago #

    For some reason when using Contact form 7 my form is completely center aligned. I haven't touched the css or html at all and its just doing it by default. I should also add that there is no apparent way to make it left aligned without modifying the css. If someone can shine some light on the issue I would greatly appreciate it, thanks.

  2. suku74
    Member
    Posted 5 years ago #

    Hi,

    I am also trying to figure out how to move the form contents towards left and was able to move the boxes by adding left:-150px in the stylesheet.css located in the contact form 7 folder
    span.wpcf7-form-control-wrap {
    position: relative;
    left:-150px;

    }

    But i am unable to move the text i.e., your name, your email....
    towards left

    Any ideas will be of great help

    Thanks.

  3. iamchel
    Member
    Posted 5 years ago #

    its actually pretty simple. Just change the following to left instead of center in the theme stylesheet. Im not sure what this is normally for but it seems to do the trick.

    .entry form { /* This is mainly for password protected posts, makes them look better. */
    text-align:left; /* center by default */
    }

Topic Closed

This topic has been closed to new replies.

About this Topic