Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Sidebar in Thematic PowerBlog? WordPress

  • SOLVED

The thematic power blog theme is great, but I can't seem to get the #secondary widget area in the sidebar to display appropriately in Internet Explorer or Chrome.

The site is artandtable.com. The sidebar displays appropriately in Firefox/Safari on the Mac, but IE and Chrome on the PC push the content out of the sidebar and under all of the content (to the bottom right hand area of the page).

Please help!

Answers (2)

2011-02-26

Ivaylo Draganov answers:

Hi,

it seems to me like an issue with code inside widgets. Try dragging your widgets to the "Inactive Widgets" area to see if the sidebar comes back up. Then start dragging them back one by one to identify the culprit.

My best guess is the last widget in the primary sidebar. There's no wrapping <ul>-tag, try changing that widget to:

<ul>
<li><a href="http://www.facebook.com/pages/Art-Table/128356207235716">Facebook</a></li>
<li><a href="#mc_embed_signup">Posts to Email</a></li>
<li><a href="http://www.twitter.com/artandtable">Twitter</a></li>
</ul>

2011-02-26

Sébastien | French WordpressDesigner answers:

There is probably a problem with the code which create the widget.

Go in your theme folder. Find a line like that

register_sidebar(array(

You have probably something like that


'before_widget' => '<h3 class="widgettitle">',
'after_widget' => '</h3>',
'before_title' => '<div class="textwidget">',
'after_title' => '</div>',


but the code must be like that

'before_widget' => '<li id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
'before_title' => '<h3 class="widgettitle">',
'after_title' => '</h3>',


Sébastien | French WordpressDesigner comments:

that's in functions.php


Sébastien | French WordpressDesigner comments:

in your case that's maybe
'before_widget' => '<li id="%1$s" class="widgetcontainer %2$s">',
instead of
'before_widget' => '<li id="%1$s" class="widget %2$s">',