Widget content populating outside of widget container
-
I recently was working on a theme in which I added two new widget areas of which I plan on using for WP Menu areas. I have wrapped the widget areas each in a right and left container as I would like it to be a 2 column type layout within the bottom right hand side of the footer. I then wrote in the code to call each widget area like so…
<div id="leftMenuContainer"> <?php if (!dynamic_sidebar('footer-menu-left-col')) : ?> <?php endif; ?> </div> <div id="rightMenuContainer"> <?php if (!dynamic_sidebar('footer-menu-right-col')) : ?> <?php endif; ?> </div>
Here are the functions…
[code moderated - use the pastebin for any code over the forum limit of 10 lines]
So why would the page generate the one of the footer-menu divs outside of thed left container DIV like this... (also view live here... clvr.com)
[code moderated - the link is enough to show the code, or use the pastebin]
Where have I gone wrong. My eyes are failing me it seems as I have done this many times in the past with no issues. I cannot determine why the second menu that I have put in the widget area is populating outside of the original widget area. Any help is appreciated. Obviously I don't have it correct.
Thanks for your time!
- The topic ‘Widget content populating outside of widget container’ is closed to new replies.