• Resolved itexilion

    (@itexilion)


    Hello, i’m trying to migrate my site to AMP. I have several calculators made with CFF plugin. They are addet to page by shortcode and displaying in amp-iframe.
    Is it possible to ajust iframe height to content? on mobile devices double scroll works really bad.
    Thanks!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @itexilion

    Thank you for the support topic, Can you please confirm that your site is configured correctly so we can check your site and provide better assistance.

    The amp-iframe does support a resizable layout you can find out more information using the documentation link

    Hope this helps!

    Plugin Author Weston Ruter

    (@westonruter)

    I think CFF needs to be patched to add support for resizable iframes.

    It looks like it would be straightforward to do. All that is needed is to add resizable to the amp-iframe output in \CPCFF_AMP::get_iframe(), add the overflow button, and then inside of \CPCFF_AMP::amp_init() add the necessary postMessage call.

    Thread Starter itexilion

    (@itexilion)

    Thanks for your reply, i’ll try to figure out how to ajust it for my needs)

    • This reply was modified 3 years, 3 months ago by itexilion.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘amp-iframe height’ is closed to new replies.