Having Trouble with Nested Lists

  • Author
  • #1023495


    Not entirely sure if I am posting this in the right place, it is my firs trip to the WordPress forums.

    I’m trying to do a nested list on my blog, but for some reason it is forcing all list items to be numbered. What I am looking for is to have the top tier in the list be numbered and the secondary tier have a bullet point. I thought I had the coding right on it, but it just isn’t working. It does show correctly on the edit page, but once published it is incorrect.

    For reference, here is the coding that I am using for it at the moment:


    1. Growing Up With Religion
      • The Beginnings
      • The Good Years
      • Northside Freewill Baptist Church
    2. Moving Away From Religion
      <ul type="disc">
    3. The Downfall
    4. Walking Away From It All
    5. Core Beliefs
      <ul type="disc">
    6. Religious
    7. Scientific
    8. Wyrd
    9. Melding the Beliefs
      <ul type="disc">
    10. Coexistence Without Conflict
    11. Accepting the Errors That Arise
    12. Issues
      <ul type="disc">
    13. Hypocrisy
    14. The Death of Knowledge
    15. Small Mindedness
    16. Coming to Peace With it All
      <ul type="disc">
    17. Finding My Way Back
    18. Beginning to Pray Again
    19. Seeing Him Work in My Life Again
    20. Accepting That I Am Still Far From Ready
    21. Moving Forward
      <ul type="disc">
    22. Finding a New Church
    23. The Future

    I even tried removing ‘type=”disc” from the first ul list, but it didn’t make any change.

    The blog I need help with is forgotn1.wordpress.com.



    Awesome. Totally bungled putting the code on here and there’s no edit option that I can find. Let’s see if I can get it right this time. If not, I apologize.

    < strong>Religion< /strong>
    < ol>
    < li>Growing Up With Religion
    < ul>
    < li>The Beginnings< /li>
    < li>The Good Years< /li>
    < li>Northside Freewill Baptist Church< /li>
    < /ul>
    < /li>
    < li>Moving Away From Religion
    < ul type="disc">
    < li>The Downfall< /li>
    < li>Walking Away From It All< /li>
    < /ul>
    < /li>
    < /ol>


    I had a problem with a nested list too. It was a vit ago, and I think I recall that it was interpreting the required open list elements before the ul or ol’s as incorrect and in correcting the XHTML, it closed them.

    I can’t recall now whether I just made sure I disabled the correct XHTML or what. Try disabling the ” corrects xhtml” option under formatting on the dashboard, settings, writing area.



    Your code is correct. The problem is a mistake in the CSS of the theme you’re using. You can correct it by turning each one of the opening li tags inside the ul to this:
    <li style="list-style-type:disc;">



    Hi there,

    Thank you for bringing the issue to our attention! It should be all taken care of now.

    Please feel free to open a new thread if the issue still persists or you have any other question. I’m sorry that it took us so long to respond.

The topic ‘Having Trouble with Nested Lists’ is closed to new replies.