Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

ARI Quiz not responsive in a popup
(1 viewing) (1) Guest
"ARI Stream Quiz" WordPress plugin
Go to bottomPage: 1
TOPIC: ARI Quiz not responsive in a popup
#63491
ARI Quiz not responsive in a popup 6 Years, 4 Months ago Karma: 0
Hello

I’m using the Popup maker to show the ARI Quiz form. Unfortunately popup maker can’t display this quiz form directly by using its short code, so I was advised to add the short code into a page then embed the page into a popup using iframe.

Now the problem is after opening the popup on a mobile device, the embedded page isn’t responsive to mobile size, however the popup it self is responsive. So the page opened in the popup is bigger than popup. I have contacted the popup maker, but unfortunately they couldn’t help me and suggested to ask you guys for advice.

I think the solution to my problem is the iframe with custom CSS, but I don’t know what I am doing wrong.

englishseed.com/second-course/

Here is the iframe code I’m using:
<div class="quiz-container">
<iframe class="quiz-frame" src="englishseed.com/second-course/frontpage_quiz/" width="600" height="550" frameborder="0" allowfullscreen="" >
</iframe> </div>

And here is the CSS:
.quiz-container {
position: relative;
padding-bottom: 90%;
padding-top: 35px;
height: 0;
overflow: hidden;
}

.quiz-frame iframe {
position: absolute;
top:0;
left: 0;

width: 100%;
height: 100%;
}

Could you please kindly advice me how to solve this problem. This has taken so much of my time.

thanks in advance
Alen
The administrator has disabled public write access.
 
#63495
Re:ARI Quiz not responsive in a popup 6 Years, 4 Months ago Karma: 760
Hello,

The quizzes created by the plugin are fully responsive. This problem with popup and IFRAME styles. You need something like this for <IFRAME>:

Code:


<iframe class="quiz-frame" src="englishseed.com/second-course/frontpage_quiz/"  height="550" frameborder="0" allowfullscreen="" style="width:100%;max-width:600px;"></iframe>



because currently fixed width (600px) is used for all screen resolutions. The solution above requires support by popup plugin. You can contact popup maker support and ask how to create flexible content area.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1