Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #23888

    Hello!

    I am trying to show a fullwidth swf on portfolio page. Example: http://www.zink.by/portfolio-item/lorem-ipsum/

    I activated “WP-SWFObject” plugin and set it to show all swf with center alignment.

    But the movie is aligned to left and does not shows correctly.

    Is there any way to align it to the center with full width(or 2200 px for example)?

    Thanks!

    #121498

    Hi,

    You move it using this on your custom.css or Quick CSS

    .flex_column.av_one_full.first.avia-builder-el-0.avia-builder-el-first .avia_textblock > div > object {
    margin-left: -600px;
    }

    Adjust the left margin.

    Regards,

    Ismael

    #121499

    That’s better!

    I wrote

    .flex_column.av_one_full.first.avia-builder-el-0.avia-builder-el-first .avia_textblock > div > object {
    margin-left: -1000px;}

    But background image still lies higher than the SWF movie, so it cuts on both ends.

    Can we change it?

    #121500

    You can try the css background-position attribute: http://reference.sitepoint.com/css/background-position , http://www.w3schools.com/cssref/pr_background-position.asp

    Use it like

    .flex_column.av_one_full.first.avia-builder-el-0.avia-builder-el-first .avia_textblock > div > object {
    margin-left: -1000px;
    background-position:center;
    }

    #121501

    Nothing changes. SWF slill cuts.

    Ok, let it be cut – it is not so big problem. Thаnks for help!

    Best regards, Vital Filipenia

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

The topic ‘Fullwidth swf on portfolio page with center alignment’ is closed to new replies.