• Resolved boost2029

    (@boost2029)


    Hi community!

    After adding a quotes widget, I noticed that the text of the quote overlapps the area of the post.

    Inspecting the code it seems that this quotes widget and the calendar widget are “delcared” outside the widget area div:

    <div id="sidebar" class="widget-area" role="complementary">
      <ul class="xoxo sidebar-list">
        <li id="search-3" class="widget widget_search">
        </li>
        <li id="execphp-4" class="widget widget_execphp">
        </li>
        <li class="categories">
        </li>
      </ul>
    </div>
    <ul>
      <li id="calendar-3" class="widget widget_calendar">
      </li>
    </ul>
    [...]
    <ul>
      <li id="random-quote" class="widget quotescollection_widget"></li>
    </ul>
    [...]    <ul>
      <!-- #sidebar .widget-area -->
    </ul>

    What can I do? Have I screwed something?

    Thanks in advance 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • can you post a link to your site?

    can you paste the code of sidebar.php into a http://pastebin.com/ and post the link to it here?

    are all the widgets in the same widget area?

    Thread Starter boost2029

    (@boost2029)

    Hi alchymyth!

    My site -> http://www.eldeleite.es/
    sidebar.php -> http://pastebin.com/csHWhQ19

    > are all the widgets in the same widget area?
    Yes.

    Thanks much for your help! 🙂

    there is no widget autside the ‘sidebar’ area.

    (your code snippet is a mis-interpretation of the html tags sequence – the closing </div> belongs to the exec-php widget)

    the ‘categorias’ widget is using a exec-php widget and is therefore differently formatted.

    is there a reason, why you can’t use a standard category widget?

    Thread Starter boost2029

    (@boost2029)

    Thanks much for your reply alchymyth!

    I’m using exec-php widget because I wanted to list all categories, even those that have no post, and that was the solution I found (if it’s a nonsense please let me know, I’m very novice at this wp stuff).

    I think I have pointed a wrong reason for my problem. In this image you can notice what worries me, the text from the quotes widgets is not “contained” in the widget area, or the sidebar panel, I don’t know how to name it properly. At the image posted, in the code view from firebug panel, the calendar and quotes widget came after the “widget area” div, they are not inside him, like search widget and categories (exec-php) widget are. This is suspicious to me.

    Isn’t this a bad thing? Is there any way to cut the text lines so they don’t overlap post’s area?

    Thanks for the support 🙂

    for the categories, try to find a customizable category plugin, that allows you to set these options.

    the quotes are contained ok in firefox3.6 (even when resizing the browser), but spill over in IE7 (windows pc)

    there are some validation errors in your code:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.eldeleite.es%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    and the following one seems to trigger the error (but i am not totaly sure):

    Line 193, Column 53: Unclosed elements inside a list.
    …"execphpwidget"><li class="categories"><h3 class="widget-title">Categorías</h3…

    as this error is coming from the execphp widget, the whole problem with the quote widget might disappear if you use a different category widget.

    as firefox is the only browser i use with good diagnostics and it does not show the error, there is unfortunately not much more i can suggest

    Thread Starter boost2029

    (@boost2029)

    OMG OMG OMG you’re totally right!

    After removing the execphp widget from the sidebar everything looks perfect in chrome, ie and firefox!

    That was absolutely beyond my abilities, thanks so much for the help 🙂

    Have a great week!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Two widgets placed ouside widget area div?’ is closed to new replies.