• I know this is simple, but I’m staring at it til I’m blind and I don’t get it.
    I’ve got WP1.5 installed with default template. I’m trying to do a simple <ul><li></li></ul> list yet when published there’s huge, gaping whitespace between each line. How do I kill that? I want no more space between each line than I’d have in the entry paragraphs. What class is doing this or whatever?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Do you have a link to a page with this problem?

    Are you putting lists in your post or within the php pages themselves, like in the sidebar?

    The Codex’s Styling Lists with CSS for WordPress will help you if it is a list situation in your template pages.

    If it is in your posts themselves, like creating a list of items about things you want to do before next weekend, then you have to make sure that your “default” post lists have been “styled” in the style sheet.

    First check to see if there are lists under whatever class or ID your posts come under. For some themes this is “content” and others “post”, and others…who knows. Anyway, check the source code of a generated test page and look to see what identifier your post is…okay, I checked and you need to look for “post” or “entry”, I think. In your style.css, t should say something like:

    .entry ul li {attributes}

    If you don’t have anything like that, then make your own and stylize it however you wish. There is info in the link I gave you on how to do that.

    Good luck.

    By the way, I checked out your page and you have an error at the top of the page that needs attention. And you might not want the word “calendar” on top of your calendar. Kinda redundant, don’t you think?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS problems with <ul><li> elements’ is closed to new replies.