• I have an odd (I think) problem. In my sidebar, the meta information shows up OUTSIDE of the gray box. How do I get it back in? Here it is:

    LDS blog

    I’m using the sidebar widgets.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I see several small quirks with the codes used. First off, the Pages Archives and Categories all use the <UL></UL> with LI tags to indent the links inside, which is fine. The last section, Credits, didn’t use the UL tags and thus nothing is indented, which also seems to work (not sure if it’s meant to be that way though).

    For the section in question, Meta, you don’t have a UL opening tag but still used LI tags around the links (and there’s a lone UL closing tag as well, which is the main issue). Just put a UL opening tag after the Meta header part but before the login link and see if it fixes it. Since you’re using sidebar widgets I’m not sure where the code is exactly that you’d need to edit, but from the looks of the code formatting it seems you edited it yourself once before already, so you should be able to find it.

    ~Lys

    Thread Starter AMSmith

    (@amsmith)

    Lysander, that was it. Thanks so much. It was in the widgets.php file.

    I also added the list tags on the credits section. Also had to add class information. Still, it’s not formatting like the others. It’s got too much spacing between each item. Don’t know where that’s coming from.

    If you’re trying to make it look exactly the same as the other sections, first off remove the “class” code in the <LI> tags for each line in the credits section. The <LI class="sidebox"> right before the “credits” header tag is supposed to be the only one in that section that has that class- so that’s most definately causing issues. Also, it looks like you tried deleting the paragraph tags from each of the lines, but you missed deleting the last closing tag at the end. And… let’s see… The order of your closing tags is definately weird, there’s so many UL and LI tags that’s it’s hard for me to tell if you properly placed a closing tag for the UL in the credits section, but if you did then it’s in the wrong place. Put it right before the </DIV> closing tag. Putting these things in proper order is a lot more important than it seems, because even if your browser displays it correctly if you mess up, someone elses’ browser might not be so forgiving.

    Go ahead and fix those first and see how it looks, and if it’s still weird then the <div class="textwidget"> (which I don’t recall seeing before) might be causing issues as well. Let me know how it turns out ^_^

    ~Lys

    Thread Starter AMSmith

    (@amsmith)

    Lysander, thanks for your expertise. The first time I entered it without the class info, it didn’t indent. But now it is, so I must have missed something else.

    Textwidget? That code isn’t mine. I edited the Credits widget from within WP. This is all the code that’s there:

    <ul>
    <li>Blog by <a href="https://www.www.remarpro.com">Wordpress</a></li>
    <li>Forums by <a href="https://lussumo.com/">Lussumo</a></li>
    <li>Theme by <a href="https://www.wpthemes.info">Sadish</a>
    </li>
    </ul>

    It seems to be working correctly now.

    Again, thanks so much for your input. The moral of the story is, don’t code at 4:00 am.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Meta sidebar problem’ is closed to new replies.