Viewing 13 replies - 1 through 13 (of 13 total)
  • Which iframe are you referring to? Do you have a link to it?

    Thread Starter kryptojdubai

    (@kryptojdubai)

    Thanks for the reply.

    iframe plugin by webvitaly.

    It doesn’t show scroll on mobile/tablets.

    Here’s the link to the page: http://goo.gl/HzMWcw

    I have fixed this page to some extent since the time I posted the question here. Earlier it wasn’t responsive and had no scroll. Now that I worked on it, but the scroll still doesn’t appear on mobile devices.

    Could you help with a solution?

    Thanks.

    I think the responsiveness of the IFRAME is not your biggest issue. When viewing this in Chrome on W10 the site breaks at the point of the IFRAME, displaying no further content.

    Is the IFRAME section some code you’ve added? And, if so, how?

    Thread Starter kryptojdubai

    (@kryptojdubai)

    Yes I used the below code for iframe section.

    This is how I have used the code.

    HTML section:

    <div class=”wrapper”>
    <div class=”h_iframe”>
    <!– a transparent image is preferable –>
    <img class=”ratio” src=”http://www.domain.com/wp-content/uploads/2014/09/imageedit_8_8679403744.png”/&gt;
    <iframe frameborder=’0′ height=’300px’ width=’370px’ scrolling=’yes’ src=’iframe source link’ frameborder=”0″ allowfullscreen></iframe>
    </div>
    </div>

    CSS Section

    .wrapper {width:100%;height:100%;margin:0 auto;background:#ffffff}
    .h_iframe {position:relative;}
    .h_iframe .ratio {display:block;width:100%;height:auto;}
    .h_iframe iframe {position:absolute;top:0;left:0;width:100%; height:100%;}

    Hmm, not sure if it’s related to this code but I’m now trying in Chrome on Mac and as soon as I scroll down to it, no further content appears and the scrolling stops working. The page source shows the rest of the page being generated so it may just be messing up the scrolling.

    Thread Starter kryptojdubai

    (@kryptojdubai)

    hmmm.. Not sure what it is..

    But if you check that page on a laptop and on a mobile/tablet, you will notice the scroll is present on laptop and absent on a mobile device.

    You will have to type-in a country name in search to see the scroll.

    Any idea, what could be the problem?

    I am unable to figure out a solution for this.

    Could I ask you, temporarily, to remove the IFRAME? I want to see if the page works okay without it.

    Thread Starter kryptojdubai

    (@kryptojdubai)

    Here’s another page on the website where I have not used the iframe code (the one that’s used in the page you are checking) but an iframe plugin (by webvitaly).

    Even this page seems to break while scrolling down. Could it be an issue with the external page that’s being called by the iframe.

    Link to page: goo.gl/jHeXdT

    It could be. We’ll only know for certain if you can create one of the scrolling pages but without an IFRAME.

    Thread Starter kryptojdubai

    (@kryptojdubai)

    Hi Dartiss,

    I have fixed that page breaking issue now.

    You can see this page: http://www.voip1click.com/buy-credit/

    But now the original issue still persists. There is no scroll for the iframe content when viewed from mobile/tablet/iPad while the scroll appears when viewed from a desktop.

    Cant seem to find a way to fix this one. 🙁

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Hi @kryptojdubai, We don’t allow shortened links so please only post what you’re comfortable with being public.

    Hmm, I can see you have the IFRAME scrolling switched on. This appears, to me, more an issue with an interaction with the theme and the scrolling built into that.

    As this is a commercial theme I would suggest contacting them via their forum… http://forum.muffingroup.com/betheme/

    Thread Starter kryptojdubai

    (@kryptojdubai)

    Ok. Will contact them.

    Thank you.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘iframe not responsive’ is closed to new replies.