What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Centering image in header section.

    Asked by capconnect on February 01, 2017 at 05:08 PM

    Hi, I have managed to insert an image but I can only see an iption to have it aligned left or right but not centre.  how can I have it aligned centre please. 

  • Profile Image
    JotForm Support

    Answered by Chriistian on February 01, 2017 at 06:16 PM

    Hi,

    I just assumed you are referring to this form http://www.jotformeu.com/form/60524091894358.

    The space on the left of your image in the header is supposed to be an area for header text.

     

    However, if you want your image to occupy the whole block and be center aligned, you can inject the following CSS to your form.

     

    .form-header-group.hasImage>.header-text {

        display: none;

    }

     

    .form-header-group.hasImage>.header-logo {

        display: block;

    }

     

    Let us know how it goes.

     

    P.S. If you are referring to a different form, please point us to the correct URL so we can check further.

     

    Regards.

  • Profile Image

    Answered by capconnect on February 01, 2017 at 06:45 PM
    Hi,
    https://form.jotformeu.com/60524091894358
    have inserted the CSS but still left aligned and won’t centre on page
    ...
  • Profile Image
    JotForm Support

    Answered by Chriistian on February 01, 2017 at 08:44 PM

    Please inject the CSS code below instead. This should align the image to the center.

    img.header-logo-right {

        margin: auto;

        display: block;

    }

    If you need further assistance, please let us know.
    Regards.