• Hi, I have a SWF object, and I need to change the alignment. Here’s my code:

    [topswf swf='https://neuromechanical.com/neurotest/wp-content/uploads/2013/04/neuroLogoSmall.swf' width='350' height='200']

    This is using another plugin within your widget. I wasn’t able to get the SWF to appear with any other code. If you know of any, great.

    Currently, it aligns right, and I want to resize it and center it. When I resize it, it falls off the page. Thanks.

    https://www.ads-software.com/extend/plugins/enhanced-text-widget/

Viewing 1 replies (of 1 total)
  • To resize the SWF you’ll have to edit the topswf width and height parameters.

    For alignment see if topswf provides any alignment parameters, if not you could wrap the shortcode in some html code such as one of these:

    <div style="text-align:center;">
    [topswf swf='https://neuromechanical.com/neurotest/wp-content/uploads/2013/04/neuroLogoSmall.swf' width='350' height='200']
    </div>

    or

    <div style="width:350px; margin:0 auto;">
    [topswf swf='https://neuromechanical.com/neurotest/wp-content/uploads/2013/04/neuroLogoSmall.swf' width='350' height='200']
    </div>
Viewing 1 replies (of 1 total)
  • The topic ‘How to change alignment of SWF in widget?’ is closed to new replies.