How can change the height of the embeded form?

  • Content_info
    Asked on October 22, 2020 at 4:12 AM

    Hi,

    How can change the height of the embeded form?


    I have a landing page and the height of the embedded form is too big. How can I minimize it? You can see it on the screenshot

    http://joxi.ru/zANWjZYHjZ7nEr



  • Sonnyfer JotForm Support
    Replied on October 22, 2020 at 7:27 AM

    Hi there - Kindly try re-embedding your form using the code below and adjust the height to your liking.

      <iframe

       id="JotFormIFrame-202847004762150"

       title="Clone of God Funnel PhD Latest Template (Updated - 7/22/20)"

       onDISABLEDload="window.parent.scrollTo(0,0)"

       allowtransparency="true"

       allowfullscreen="true"

       allow="geolocation; microphone; camera"

          src="https://form.jotform.com/202847004762150"

       frameborder="0"

       style="

       min-width: 100%;

       height:539px;

       border:none;"

       scrolling="no"

      >

      </iframe>

    Related Guide: Getting-the-form-iframe-code

    Let us know how it goes.

  • Content_info
    Replied on October 22, 2020 at 4:28 PM
    It’s not working. I changed this number but it remain the same
    ...
  • Sonnyfer JotForm Support
    Replied on October 22, 2020 at 8:16 PM

    Sorry about that. Kindly allow me some time to further check your embedded form. I will get back to you shortly.

  • Sonnyfer JotForm Support
    Replied on October 23, 2020 at 12:46 AM

    Thanks for patiently waiting. It seems the code of your website is dictating the size of the embed forms.

    Kindly try adding ! important to the height of the iFrame to overwrite the code of your website.

    Example:

      height:539px ! important;

    Let us know how it goes.

  • Content_info
    Replied on October 23, 2020 at 4:28 PM
    It’s better now.
    Do you know how can I get rid of frames on mobile versions? Check the screenshot
    ...
  • Content_info
    Replied on October 23, 2020 at 4:28 PM
    And can I make this distance shorter?
    ...
  • Sonnyfer JotForm Support
    Replied on October 23, 2020 at 7:12 PM

    Glad to hear the height issue is now sorted. As for your other queries, I have moved them to separate tickets to avoid confusion. Kindly wait while I write my responses on the following ticket links.

    https://www.jotform.com/answers/2652820

    https://www.jotform.com/answers/2652821