Main CSS File? Custom CSS File?

  • Profile Image
    FIT_forms
    Asked on September 22, 2017 at 11:47 PM

    Hello,

    Is there a main CSS file that JotForm uses?

    Can I customize that CSS file and then, directly load it for a specific form? Can it override the main CSS file?

    I am hoping to create forms that closely match my website's styles without needing to customize every form with injected CSS.

    Thank you.

    --Richard Ota


  • Profile Image
    Nik_C
    Answered on September 23, 2017 at 02:30 AM

    Yes, there is the main CSS.

    The only way to access it and modify it is to download Full Source Code and do the changes there.

    But, you cannot upload those changes back to the form, you can only store it on your own server.

    Hope it helps.

    Let us know if you have any further questions.

    Thank you!


  • Profile Image
    FIT_forms
    Answered on September 23, 2017 at 01:55 PM

    Hi,

    Can I link to my own stylesheet and override many of the elements of the base stylesheet file?

    I am hoping to make a number of changes/overrides and carry them to another form.

    Thank you.

    --Richard Ota


  • Profile Image
    Nik_C
    Answered on September 23, 2017 at 03:14 PM

    That would be possible, but, again, with Full Source code only. And, of course, you will have to adjust classes in HTML code in order to make your CSS code work. 

    Bottom line, you can not include any outside CSS code in your form unless you use Custom CSS Code field where you will target the existing classes of HTML of the form. 

    Let us know if you have any further questions.

    Thank you!