XF 1.3 iFrame not responsive/cutting off content

Assign a class to the iframe and then use standard media queries to change the width.
For example:
Code:
<style type="text/css">
.MyIframe {
width: 800px;
}

<xen:if is="@enableResponsive">
    @media (max-width:910px) {
        .MyIframe {
        width: 600px;
        }
    }
</xen:if>
</style>
 
Assign a class to the iframe and then use standard media queries to change the width.
For example:
Code:
<style type="text/css">
.MyIframe {
width: 800px;
}

<xen:if is="@enableResponsive">
    @media (max-width:910px) {
        .MyIframe {
        width: 600px;
        }
    }
</xen:if>
</style>

What exactly do you mean? Sorry, I've never dealt with classes.
 
Back
Top Bottom