1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 iFrame not responsive/cutting off content

Discussion in 'Styling and Customization Questions' started by Ren3gade10, Feb 8, 2014.

  1. Ren3gade10

    Ren3gade10 Member

  2. Brogan

    Brogan XenForo Moderator Staff Member

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

    Ren3gade10 Member

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

Share This Page