[resolved] Layout Nightmare (6 posts)

  1. MCRebbe
    Posted 10 years ago #

    The left menu column on a 1.5.2 theme upgraded from a 1.2 template is causing me a nightmare.

    Here is what it should look like (running under wp 1.2):

    And here is the problematic version on a testing server (running on wp 1.5.2)

    Someone help me please b4 I go insane!

  2. bob58
    Posted 10 years ago #

    On your new blog, you have different ids for the headers in the sidebar. you should change it either in the sidebar.php or in you css file ... could that be the problem ?

  3. moshu
    Posted 10 years ago #

    It's probably because beginning from 1.5.x (quite annoyingly IMO) the headings for the blogroll list are put in between h2 tags.
    You have two options:
    a) there is somewhere a post that tells you what to modify in a core file to get rid of the h2 (but you'll have to deal with it at every upgrade)
    b) to style thos h2 tags in the stylesheet by adding something like
    #menu h2 {
    margin: 0;
    padding: 0;
    font-size: 100%;}

    and probably there is a ul tag before the get links template tag which is not needed, but I might be wrong.

  4. MCRebbe
    Posted 10 years ago #

    Nice one Moshu, you were spot on!!

    I changed the style sheet and I did need to remove the ul tag before the get links tag, as well as the after it. It now displays perfectly in IE & Mozilla (there's a first). The only problem I have now is that without the ul tags it does not validate as XHTML 1.0 transitional (with them it does, but does not display properly).

    Any suggestions?



  5. moshu
    Posted 10 years ago #

    Because the <li id="categories">Techno Files: is not closed with an </li> after the last link :)

  6. MCRebbe
    Posted 10 years ago #

    Thanks Moshu. Sorted!

Topic Closed

This topic has been closed to new replies.

About this Topic