Footer wrapping to two lines
-
Hi All,
I am having a problem with a footer that I am creating.
I’m using the widgets to build it. It’s made of 3 Custom Menu Widgets and 1 Plugin Widget.
I decreased the width of each of these so they fit within the size of footer container and yet they are still on two rows. The issue is a div tag with a class=”clear” that I don’t know where it is coming from.
You can see what I am talking about on http://robmcconachie.com/beingaleader/course-content/ and scroll down to the bottom.
Any help would be appreciated.
Thanks,
Rob
-
There is probably something in the code for the footer sidebar that counts the widgets and forces a new row by inserting the clear class after counting 3.
Any idea where to look for that?
The following code is the footer code and I can’t see anything in that!
<div id="footer"> <div id="footer-wrapper"> <div id="footer-center"> <div class="container"> <?php if (!is_home()) { ?> <div id="footer-widgets" class="clearfix"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer') ) : ?> <?php endif; ?> </div> <!-- end #footer-widgets --> <?php } ?> <p id="copyright">@ Copyright Being a Leader <?php echo date("Y"); ?></p> </div> <!-- end .container --> </div> <!-- end #footer-center --> </div> <!-- end #footer-wrapper --> </div> <!-- end #footer --> </div> <!-- end .center-highlight --> </div> <!-- end #content-full --> <?php get_template_part('includes/scripts'); ?> <?php wp_footer(); ?> </body> </html>Might be the sharing widget – since the clear div is right after it.
a CSS quick-fix which might have side effects:
#footer .clear { clear: none; }please contact your theme’s developer for support; http://codex.ww.wp.xz.cn/Forum_Welcome#Commercial_Products
The topic ‘Footer wrapping to two lines’ is closed to new replies.