How can I inject multiple CSS code?

  • Profile Image
    geigeradrien
    Asked 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

  • Profile Image
    Welvin
    Answered 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