Thread Rating:
  • 290 Votes - 3.05 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with getting featuret to align to left
04-25-2010, 05:21 PM
Post: #1
Help with getting featuret to align to left
Hey everyone on this site - trying to get the flash box to flush all the way to the left and there is nothing in stylesheet or code that explains why it is centering when all other content on the page is aligned (float) to the left.

Please help Smile
you can email me at webcontentpro at gmail
04-30-2010, 07:07 AM
Post: #2
RE: Help with getting featuret to align to left
Hi there, Guest!

Featurific is centered because it is embedded within <center>...</center> tags. These tags are added by the Featurific for Wordpress plugin. Open up featurific.php, and seek to approximately line 617 (that's where it is in the version of featurific.php that I'm looking at). You should see some code like the following:

PHP Code:
    $html = <<<HTML
        <center><!-- Begin Featurific Flash Gallery (version {$version}) - -->
        <script type="text/javascript" src="
{$web_root}featurific.js"></script><div id="swfDiv">
        <script type="text/javascript">
        // <![CDATA[
        fo = new SWFObject("
{$web_root}FeaturificFree.swf?&lzproxied=false", "lzapp", "$width", "$height", "6", "#FF6600");
        fo.addParam("swLiveConnect", "true");
        fo.addParam("name", "lzapp");
        fo.addParam("wmode", "transparent");
        fo.addParam("allowScriptAccess", "always");
        fo.addVariable("xml_location", "
        // End JS for
        // ]]>
        <!-- End Featurific --></center>

Note the presence of the <center>...</center> tags. If you remove these tags from the code and save featurific.php, Featurific should behave like the other elements you have in your page.

Hope this helps! Smile
Find all posts by this user

Forum Jump:

User(s) browsing this thread: 1 Guest(s)