• Resolved smfrick

    (@smfrick)


    I have a blog where I’m using an ordered list

      command and when I show it in preview I get 1. for each line item rather than getting the incrementing numbers. I’ve even tried to use the type=”1″ parameter in the ol, and nothing seems to work.

    <ol>
    <li>first item</li>
    <li>second item</li>
    <li>third item</li>
    </ol>

    results:
    1. first item
    1. second item
    1. third item

    Thanks for any help with this problem
    Steve

Viewing 14 replies - 1 through 14 (of 14 total)
  • Michael

    (@alchymyth)

    is the html that you posted something you got from viewing the html of your post/page in the broswser, or something that you expect to see?

    link to your site?

    Thread Starter smfrick

    (@smfrick)

    It’s actually what I see on my preview and when I publish

    Michael

    (@alchymyth)

    do you see this structure:

    <ol>
    <li>first item</li>
    <li>second item</li>
    <li>third item</li>
    </ol>

    in the html code in your browser?

    (i am not asking what you see on the screen)

    Thread Starter smfrick

    (@smfrick)

    Thread Starter smfrick

    (@smfrick)

    The Code I put up is what I copied from the HTML tab of the body editor. In the Visual Body it shows:

    1. test 1
    2. test 2
    3. test 3

    The problem is that’s not what I get when I preview or publish.

    esmi

    (@esmi)

    Can we see the published page? Your theme may be re-styling ordered lists.

    Thread Starter smfrick

    (@smfrick)

    I think I figured it out, it’s not word press. I was using Firefox, and then I went to IE and had the same problem except I get a list of 0. instead of 1. Then I went to Chrome – no problem, Safari – no problem. It’s the browser or a plug-in for the browser that isn’t working.

    esmi

    (@esmi)

    List displays aren’t browser or plugin specific. My guess is that it’s a poor bit of CSS and the ‘0’ that you are seeing are actually list circles intended for a bulleted list.

    Thread Starter smfrick

    (@smfrick)

    esmi

    (@esmi)

    Are you sure that page is published?

    Not Found
    Error 404 – Not Found

    Thread Starter smfrick

    (@smfrick)

    Sorry, my co-worker unpublished it. it should be live now

    esmi

    (@esmi)

    Got it! style.css:

    .art-post li {
        margin: 0.2em 0;
        overflow: hidden;
        padding: 0;
    }

    Remove overflow: hidden;.

    Thread Starter smfrick

    (@smfrick)

    Awesome! Thank you so much esmi! That fixed the issue.

    esmi

    (@esmi)

    No problem šŸ™‚

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Ordered List Not working’ is closed to new replies.