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!
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
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?
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;
}
Nothing changes. SWF slill cuts.
Ok, let it be cut – it is not so big problem. Thаnks for help!
Best regards, Vital Filipenia