How do I limit the html.supernova class that extends after a form?

  • Kayla_Hughes
    Asked on June 28, 2017 at 1:49 PM

    So when creating a new webpage, we incorporated a jotform for users to sign up for our service. After embedding it into wordpress, I have a huge amount of white space that extends after the edge of the form. when using the debugger this has been classified as a html.supernova element that seems to be coming from the form itself. How would one modify this to end when the form does? 

     

    Thank you much!

    Jotform Thread 1186272 Screenshot
  • David JotForm Support
    Replied on June 28, 2017 at 3:27 PM

    In your embed code, there is a height attribute:

    <iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" width="100%" height="1000" src="//oembed.jotform.com/form/70035285651150#?secret=YS2UEZUtq6" data-secret="YS2UEZUtq6"></iframe>

    This is currently set to 1000 which is fairly large.  Try reducing that value until the the form no longer takes up excess space.