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

    .form-header question

    Asked by jolomero on February 19, 2013 at 07:56 PM

    I've been trying to do 2 things with the form header on my form:

    to make the text larger than your "large" option center it.

    I've been using css injection using the following code:

    for font-size

    .form-header{font-size: 30px;}

    for centering:

    .form-header{

    margin-left: auto;

    margin-right: auto;

    }

     

    Neither seem to be working, either separately, or together. Any insights?

    Page URL:
    http://form.jotformpro.com/form/30225928985969?

  • Profile Image
    JotForm Support

    Answered by Welvin on February 19, 2013 at 09:18 PM

    Hi,

    This is the right codes:

    Form Header:

    #header_7 {

    text-align: center;

    font-size: 30px;

    }

    Form Sub Header

    #subHeader_7 {

    text-align: center;

    font-size: 20px;

    }

    Guide: How to Inject Custom CSS Codes

     

    Thanks