Just wanted to jump in here and maybe shed some light on this.. (for inFocus)
The footer widget areas use the column styles such as <div class = 'one_fourth'></div> and <div class = 'one_half'></div> if you are wanting to change the columns to 2, 3, 4, then you can create your own structure by using these.
Open up /wp-content/themes/infocus/footer.php and delete everything inside line 9 which is..
<div class = 'inner'>
And then type in your column divs such as one_third, one_fourth or one_fifth. Inside each column you will need to place this code..
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?>
<div class="widget widget_recent_entries" id="recent-posts-1">
<h3 class="widgettitle">Recent</h3>
<ul>
<li><a title="Lorem sit amet" href="#">Lorem sit amet </a></li>
<li><a title="Morbi vel est nunc" href="#">Morbi vel est nunc </a></li>
<li><a title="Sed id est id tellus" href="#">Sed id est id tellus </a></li>
<li><a title="Fusce quis nunc" href="#">Fusce quis nunc </a></li>
<li><a title="Suspendisse vestibulum mollis" href="#">Suspendisse vestibulum mollis </a></li>
</ul>
</div>
<?php endif; ?>
This is the code for a widget area. Pay close attention to !dynamic_sidebar(2) where 2 is the widget area. When placing widget areas in the footer make sure to start with 2 and then go up one for each column.. 2, 3, 4, etc etc. Also, make sure to add a "last" class to your last column like this...
<div class = 'one_fourth last'></div>
It might be kind of confusing so I attached a footer.php file that uses three columns which you can use for reference.
Attachments
-
footer.zip (0.9 KB, 71 downloads) 2 years old