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

    Why drop shadow CSS is not working on form preview?

    Asked by kevmountain on March 14, 2017 at 04:55 AM

    I have added the code to the CSS and the form look good until I preview.

    The box shadow is not working.

    I do not want to put this form in an iframe.

    Page URL:
    https://eu.jotform.com/build/70712890265357

  • Profile Image
    JotForm Support

    Answered by Nik_C on March 14, 2017 at 05:38 AM

    Hello, 

    Just add the !important parameter for your CSS code for .form-all class:

    .form-all {

        box-shadow : 1px -1px 69px 25px rgba(0,0,0,0.36)!important;

        -webkit-box-shadow : 1px -1px 69px 25px rgba(0,0,0,0.36)!important;

        -moz-box-shadow : 1px -1px 69px 25px rgba(0,0,0,0.36)!important;

        border : 1px none #192e8b!important;

        border-radius : 12px!important;

    }

    It will work properly then.

    Let us know if you have any further questions.

    Thank you!