How can I center my form fields with CSS?

  • Profile Image
    riteoak
    Asked on June 02, 2015 at 05:08 PM

    Hi, I've visited several forum questions with the same issue, the webpage I am working on the form is on the left, I would like for it to be center. How can I do this? Thank you.

  • Profile Image
    raul
    Answered on June 02, 2015 at 06:02 PM

    I've checked your page and it seems like you were already able to center your form since this is how it looks on my side.

    Do you still need our help? If so, please let us know and we'll be happy to provide assistance.

  • Profile Image
    riteoak
    Answered on June 20, 2015 at 11:59 AM

    Hi Raul, thanks for your reply, what I meant is that I would like the fields to be center. Thank you.

  • Profile Image
    Syed
    Answered on June 20, 2015 at 04:40 PM

    Hi there;

             Could you try to inject the following CSS Code Block to align your fields to be centered. Read this guide on How you can Inject Custom CSS Codes. Review the following screenshot for confirmation.

    .form-line {padding-left: 100px;}

    #id_7 {padding-left: 190px;}

    Hope this helps. Please let us know, if you have further questions, we would be glad to help you in any regards.

     

    Thankyou,

  • Profile Image
    riteoak
    Answered on June 20, 2015 at 07:53 PM

    Thank you that worked perfectly!

  • Profile Image
    Syed
    Answered on June 20, 2015 at 10:08 PM

    You're welcome. Please let us know, if you need further assistance. We would be happy to help you.

     

    Thankyou,