Lovely Orange theme: how to control the height of the top orange part

  • ellie123
    Asked on February 18, 2016 at 4:45 PM

    OK - one more question...how can I make the top orange part not so big? I want to shorten it so the images do not overlap into that orange area.

    https://form.jotform.com/60485365640155

    Thank you

  • Boris
    Replied on February 18, 2016 at 5:03 PM

    As the orange part is a part of the background image, the only way to control the height of the orange part is to control the height of the entire background image. We can do that by adding a small bit of custom CSS to your form:

    .form-all { background-size: 100% 2500px; }

    It would force the orange part of the image to stop just above the 3 columns with images:

    Lovely Orange theme: how to control the height of the top orange part Image 1 Screenshot 30

    However, this would also make a noticeable transition from where the background ends, at its 2500 pixels:

    Lovely Orange theme: how to control the height of the top orange part Image 2 Screenshot 41

    That is why I would recommend that we re-create the entire image with pure CSS instead, by adding the following CSS instead of the one posted above:

    background-image: -webkit-linear-gradient(#F59202 250px, rgba(255,255,255,0.3) 350px);
    background-image: -moz-linear-gradient(#F59202 250px, rgba(255,255,255,0.3) 350px);
    background-image: -o-linear-gradient(#F59202 250px, rgba(255,255,255,0.3) 350px);
    background-image: -ms-linear-gradient(#F59202 250px, rgba(255,255,255,0.3) 350px);
    background-image: linear-gradient(#F59202 250px, rgba(255,255,255,0.3) 350px);

    You can inject codes as my colleague shown before, or by following our guide on how to inject CSS codes into your form.

    Please let us know how it goes.