WordPress.org

Ready to get started?Download WordPress

Forums

subcategories showing a double space (9 posts)

  1. Root
    Member
    Posted 10 years ago #

    Oh dear oh dear oh dear. Tables in the header, and br tags in the lists.
    Simple solution: Put it all the way it should be then someone can help with the css? And you are a designer? Do you read at all?

  2. regina
    Member
    Posted 10 years ago #

    okay, well.. if you put your ul back in, try this:
    #menu ul {
    line-height: 1em;
    }
    #menu li {
    line-height: 1em;
    }
    it might force the spacing the way you want. I can't help too much more without seeing the actual behavior of the ul within your source code.

  3. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    Um Root, that was pretty rude. Please keep that sort of stuff to yourself.
    Bruce, that's a side-effect of using breaks for the category list. It would be easier to style it if you used lists, and this page on the wiki might give you a good start into controlling the lists to appear like you want:
    http://wiki.wordpress.org/index.php/Bullets

  4. OperaManiac
    Member
    Posted 10 years ago #

    does not wp_list (); tag remove all the nested uls?

  5. Mark (podz)
    Support Maven
    Posted 10 years ago #

    You've coded the links into the index.php template ?
    Using the Links Manager will help get your links nested correctly.
    Right now, take them out of index.php.
    Then add this line there instead:
    <?php wp_list_cats(); ?>
    This should display the categories pretty much as they are now, but the styling may be slightly different. If so, the places to check in the CSS are the #menu ul, #menu ul ul, and #menu ul ul li
    They control the font, the gap between lines, indentation etc.

  6. mumeimagpie
    Member
    Posted 10 years ago #

    This isn't going to be a great answer but it might help a little -- if you put the li and ul's back, I think you have more control over the layout, just because the whole page is set up that way. Then if you go into your wp-layout.css, here's the entry that seems to help with the subcategories:
    '#menu ul ul ul.children {
    font-size: 13px;
    margin: 2px 0 0px 0;
    padding: 0px 0px 0px 10px;
    }'

    That's what I did on mine to fix it, added this entry (it might already exist and need tweaking in the 1.2 version of that css sheet)-- and I am just hacking my way through the underbrush trying to learn CSS and some PHP, so my solution may not be very good, but it does seem to have worked the way I wanted it to.
    Not accustomed to fielding questions but I hope this helps anyway! :}

  7. mumeimagpie
    Member
    Posted 10 years ago #

    Heh!! I took so long figuring out how to say what I did, my help is kinda redundant... now I can read these other replies and find out if what I did is even mildly acceptable or not... thanks guys!! :-D

  8. Root
    Member
    Posted 10 years ago #

    @ allusion: My apologies.

  9. regina
    Member
    Posted 10 years ago #

    that's got to be the most diplomatic response I've ever seen. worthy of congress, I say. LOL

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.