Support » Fixing WordPress » Body length will not grow longer to fit iFrame

  • scottygoodboy

    (@scottygoodboy)


    I have two websites where I use the same theme. I have contacted the theme support and he states that it’s a designing issue and not related to the theme.

    On one website the body of the page will grow to fit the iFrame that I place on the page. On the other, it will not. Even when using the exact same code to call the iFrame and custom CSS for that page.

    You can view the one displaying correctly at: https://www.nebraskawalktoemmaus.org/board/

    You can view the one not displaying correctly at: http://dakotaswalk.org/bod

    As you can see on the 2nd site, within the body of the page and iFrame, you have to use a scroll bar to view the list, even though the code says not to use a scrollbar. The body of the page is not making room for the full height of the iFrame to display.

    Also, you will notice the iFrame is not centering on the page, even though I’m using the same Custom CSS and HTML code I use on the first site to accomplish this.

    Not sure what the difference is.

    Any help appreciated.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • JNashHawkins

    (@jnashhawkins)

    If you’ll look at the two page’s code by using CTRL-U I think you’ll see the differences in the pages starting with the body class declaration.

    It’s not enough to duplicate just the posts or pages themselves but CSS classes and declarations need to match exactly to get what you want from one page/site to match the other.

    Actually the sites are somewhat different due to different resources that bring in different CSS and javascript which can affect the display also.

    Thread Starter scottygoodboy

    (@scottygoodboy)

    I don’t see the difference. Yes, there are some, but nothing that should cause the ‘body of the page’ not to grow to accommodate the size of the iFrame.

    I don’t understand what all that source means, but why would one site differ that much from the other when using the same Theme and same custom CSS on the page? The only difference is it is calling an iFrame from a different source.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Body length will not grow longer to fit iFrame’ is closed to new replies.