My Iframe In Pagebuilder is Not Responsive - Question | JoomShaper

My Iframe In Pagebuilder is Not Responsive

LG

Lorna Guttormson

SP Page Builder 5 days ago

Can you help me with making my IFrame of a calendar responsive.

I have an English page which shows the calendar . It is not responsive. You can see it at https://test2.ottawaoc.ca/events/calendar. It contains the iframe call in a rawhtml block - <iframe style="border: none; margin: 0px;" src="/https://ooc.whyjustrun.ca/events/" width="1200" height="750"></iframe>

On the french page https://test2.ottawaoc.ca/fr/evenements/calendrier I have followed instructions in W3docs (https://www.w3docs.com/snippets/css/how-to-create-a-responsive-iframe-with-css) but the calendar does not show at all.

The instructions there involved some custom css which I have added to the page: .wrap-element { position:relative; overflow: hidden; padding-top: 56.25%; } .wrapped-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; } and some changes to the iframe call which are in the iframe row containing raw html <div class="wrap-element"> <iframe <spam class="attribute"> class </span> class="iframe-element" src="/https://ooc.whyjustrun.ca/events/" width="100%" ></iframe> </div>

0
3 Answers
LG
Lorna Guttormson
Accepted Answer
3 days ago #232538

Many thanks. Looks great. I see I put the width 100% in the wrong place.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 days ago #232507

Hello Lorna Guttormson,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing. Rest assured, I will look into this issue for you and work to resolve it as quickly as possible.

I have hidden your Raw HTML section and added another section. I have modified the HTML code there. It looks better now. Please check your affected page.

prnt.sc/hhGrAY5RdkKZ

Best regards

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 days ago #232592

You are welcome 😊


I have a humble request. It would be very kind of you if you can manage some moment to give us feedback on 

  1. Joomla Extension Directory
  2. TrustPilot

This will inspire us to improve.

0