Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Embed gets clipped

TamaTama United Kingdom ✭✭✭
edited April 2013 in Vanilla 2.0 - 2.8

Using the vanillaembed plugin causes the profile to get clipped if the main content isn't longer than the sidebar

goes to

There was an error rendering this rich post.

Tagged:

Comments

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    where do you have it embedded ? Could we get a link to see? have you tried to change the size of the iframe?

  • Options
    TamaTama United Kingdom ✭✭✭

    Have experimented with iframe size, you can manually override the the javascript that makes the height responsive but that often leaves lots of space on pages that aren't the profile.

    The forums are embedded on a protected site, because the service is in closed beta

    There was an error rendering this rich post.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    does this happen with other themes? or just with this one?

  • Options
    422422 Developer MVP

    iframe only loads in current viewport. Avoid embed like the plague

    There was an error rendering this rich post.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    I have embedded and controlled the size of the embed using css. For example, in facebook I have a forum embedded. Even though the size says 100% , the html app I use on Facebook adds 30% of size no matter what I do. Si I added the

    iframe{width:100%!important;height:100%!important;}

    and this worked .

    Now it should work on all of the embed not just one page . But there are other factors like the original size of the theme. If it does not have float left on the content, and other stuff you will have alignment problems.

    Sorry I could not get into your forum but the user and pass did not work. Maybe there are setting I must have enabled on my browser?

  • Options
    TamaTama United Kingdom ✭✭✭

    using modified version of bootstrap if that helps

    There was an error rendering this rich post.

  • Options
    TamaTama United Kingdom ✭✭✭

    I managed to get this fixed, by adding this to custom.css

    body#vanilla_categories_index #Body,
    body#vanilla_categories_index #Frame,
    body#vanilla_discussions_tagged #Body,
    body#vanilla_discussions_tagged #Frame,
    body#vanilla_discussion_comment #Body,
    body#vanilla_discussion_comment #Frame,
    body#vanilla_discussion_index #Body,
    body#vanilla_discussion_index #Frame {
    min-height:1100px;
    }

    body.Profile #Body,
    body.Profile #Frame {
    min-height:1000px;
    }

    body#vanilla_categories_all #Body,
    body#vanilla_categories_all #Frame {
    min-height:800px;
    }

    If you use this make sure you change the heights to suit your theme/number of side modules

    There was an error rendering this rich post.

Sign In or Register to comment.