• Resolved yellowcandy

    (@yellowcandy)


    On my site (which is just about ready to go now), I’ve got a sidebar with a link list. The list appears as it should, and the label for the list also appears correctly, but I can’t figure out how to get rid of the extra blank line between the Link Category Label (“Great Food Sites:” in my case) and the first link in the list. I’ve gone into the Link Categories Menu option and have removed the br tag from the “Between Link and Description” box, but I’m stumped.

    The relevant code that generates the list in question follows. Oh, and if you want to see the thing in situ, it lives here: http://nycnosh.com

    \\
    Most Recent Posts:
    <?php get_archives(‘postbypost’,’05’, ‘html’); ?>
    <?php wp_list_pages(); ?>
    <?php get_links_list(); ?>
    <li size=1 id=”categories”><?php _e(‘Categories:’); ?>
    \\

Viewing 4 replies - 1 through 4 (of 4 total)
  • You have this in your style.css “li#linkcat-1 h2” if you add margin-bottom: 2px; (or some other smallish number), it’ll reduce the space between the “Great Food Sites:” and the links.

    Try this at the bottom of your css:

    #menu ul li h2 {
    margin-bottom: 2px;
    }

    does that change anything ?

    Thread Starter yellowcandy

    (@yellowcandy)

    Thanks Minna and podz– that was precisely the problem. I really appreciate all the help.

    I have a similar question perhaps. In my sidebar, how do I get rid of the line break between the “Search” label and the search form? this line break only occurs in IE.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Strange line break between Link Category Label and Links’ is closed to new replies.