Tagged: iphone
Hello,
I have problems with Iframe Width on IPhone. I have a iframe with width:100% and it works on all devices, exept on the iphone in portrait view, in landscape mode it works well…
How can I fit the iframe wo width: 100 % in portraite view on the iphone?
Thank you,
Theo
Hey theokaemmerer,
Provide a link to the site/page in question so we can look into this issue further.
Best regards,
Jordan Shannon
Hi theokaemmerer,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media screen only and (max-width: 767px) {
iframe {
width: 90vw !important;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
Hi,
unfortunately it doesn’t work, altough i put the media querries into the custom and quick css. i ve tried both
Hi,
Did you add the code to very top of quick css so that it runs first? Also, clear the cache a few times over.
Best regards,
Jordan Shannon
Yes I did it. but it doesn’t work :/
Hi,
And you cleared the cache performance, to be sure this is working as should?
Best regards,
Basilis