Featurific Support

Full Version: Help with getting featuret to align to left
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Guest

Hey everyone on this site http://www.earstothemusic.com - 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
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}) - http://featurific.com -->
        <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", "
{$web_root}{$data_xml_filename}");
        fo.write("swfDiv");
        // End JS for http://featurific.com
        // ]]>
        </script></div>
        <!-- End Featurific --></center>
HTML; 

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
-Rich
Reference URL's