Featurific Support
Help with getting featuret to align to left - Printable Version

+- Featurific Support (http://featurific.com/support)
+-- Forum: General Support (/forum-3.html)
+--- Forum: General Support (/forum-11.html)
+--- Thread: Help with getting featuret to align to left (/thread-163.html)



Help with getting featuret to align to left - Guest - 04-25-2010 05:21 PM

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


RE: Help with getting featuret to align to left - rinogo - 04-30-2010 07:07 AM

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