Theme Question: Form on the side.

  • hap5
    Asked on June 14, 2016 at 10:43 AM

    Hi guys,

     

    I was curious as to if there's a way, when designing a theme, to make it so the form is aligned left or right, rather than centered. So if the background image has the focus on the right of screen, then I could align my form to the left so that the form wouldn't be covering up part of the background's focus.

     

    Thank you in advance!

    Jotform Thread 860287 Screenshot
  • BJoanna
    Replied on June 14, 2016 at 12:53 PM

    You can achieve that by Injecting Custom CSS code to your form.

    To align your form to the left add this CSS code:

    .form-all {

    margin-left:0 !important;

    And to align your form to the right add this CSS code:

    .form-all{

    margin-right:0 !important;

     

    Inside of this guide you can find how to inject custom CSS codes to your form: 

    https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Hope this will help. Let us know if you need further assistance. 

  • hap5
    Replied on June 14, 2016 at 12:58 PM

    Thank you very much, BJoanna!

    This helped a lot :)

  • BJoanna
    Replied on June 14, 2016 at 2:10 PM

    You're welcome.

    Feel free to contact us if you have any other questions.