WordPress.org

Ready to get started?Download WordPress

Forums

Adventure Journal
[resolved] Unordered list within ordered list. (2 posts)

  1. jacnel@gmail.com
    Member
    Posted 1 year ago #

    I am trying to get an unordered list within ordered list but as soon as I post the page it appears as an ordered list within an ordered list. e.g.
    1. Milk
    2. Bread
    1. White
    2. Whole Grain
    3. Rye
    3. Coffee

    I want it to be
    1. Milk
    2. Bread
    * White
    * Whole Grain
    * Rye
    3. Coffee

    Please help! I think the css is overwriting the html code.

  2. jacnel@gmail.com
    Member
    Posted 1 year ago #

    never mind found a fix.
    I added this line
    ol li ul li {list-style:circle inside !important; }
    under
    ol { margin-bottom:1em; }
    ol li { list-style:decimal; }
    ol ol li { list-style:upper-alpha; }
    ol ol ol li { list-style:lower-roman; }

    Working great!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic