Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1108872

    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

    #1108948

    Hey theokaemmerer,

    Provide a link to the site/page in question so we can look into this issue further.

    Best regards,
    Jordan Shannon

    #1109029
    This reply has been marked as private.
    #1109252

    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

    #1109291

    Hi,
    unfortunately it doesn’t work, altough i put the media querries into the custom and quick css. i ve tried both

    #1109722

    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

    #1111603

    Yes I did it. but it doesn’t work :/

    #1112156

    Hi,

    And you cleared the cache performance, to be sure this is working as should?

    Best regards,
    Basilis

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.