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

    How can I inject multiple CSS code?

    Asked by geigeradrien on April 16, 2014 at 02:52 PM

    I have injected three lines of code in order to chage the color of the header, subheader and banner.

    It works for the subheader but not the other.

    Could you please help me?

     

    I have injected the follwoing:

    .form-subHeader{ color:#FFFFFF; } .form-header-group{ background-color:#000000; } .form-Header{ color:#FFFFFF; }

     

    my form is the following : <script type="text/javascript" src="//form.jotform.us/jsform/41026479863158"></script>

     

    Thank you for your help.

     

    Regards,

     

    Adrien

    Page URL:
    http://form.jotform.us/jsform/41026479863158

    css code JotForm style size font
  • Profile Image
    JotForm Support

    Answered by Welvin on April 16, 2014 at 04:37 PM

    Hi Adrien,

    The custom CSS codes are correct. Just add !important to the end, like this:

    .form-subHeader {

    color:#FFFFFF !important;

    }

    .form-header-group {

    background-color:#000000 !important;

    }

    .form-Header {

    color:#FFFFFF !important;

    }

    Anyway, checking your form, your custom CSS codes are already applied to the form. Please clear your browsers cache to see the changes. This is what I see:

    Thanks