li tags on my site and others have a leading 0

  • Unknown's avatar

    For some time now my blog has been showing “0” before each li tag. I’ve noticied this on other wordpress blogs.

    Example: http://joshsmithonwpf.wordpress.com/

    I have not touched my custom css that I pay for.

    I want my site to look good again.

    What do I need to do?

    Karl

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    It is supposed to be that way. It’s part of the theme. Different themes have different types of li symbols. Contempt has circles by default.

    I added this to my CSS in order to eliminate the circles for the sidebar li and to have discs for the 1st level li and circles for the 2nd level li in the posts

    .entry ul li:before,#sidebar ul ul li:before {
    content:"";
    }
    
    html>body .entry ul {
    margin-left:3px;
    list-style-type:disc;
    text-indent:-4px;
    padding:0 0 0 10px;
    }
    
    html>body .entry ul ul li {
    list-style-type:circle;
    margin:5px;
    }
    
    #sidebar ul li {
    list-style-type:none;
    list-style-image:none;
    padding:0 0 3px 10px;
    }
  • Unknown's avatar
    karlshifflett · Member ·

    This does not solve the problem.

    WordPress.com made a change and my site does not display correctly.

    All of my “normal”

    • tags in the content area of my page do not render.

      Something changed on WordPress that is causing this.

  • Unknown's avatar

    Ah, you’re talking about lists in the posts, not the sidebar. But I think husdal is right, those too are supposed to be with white disks in Contempt. I don’t know how you can change that in your CSS, but if you want black disks you can do it in the html editor by typing normal bullets – with this code instead of an unordered list:

    <div style="padding-left:1em;margin-left:1em;text-indent:-1em;">
    • Item one here
    
    • Item two here
    
    [etc.]
    
    </div>
  • The topic ‘li tags on my site and others have a leading 0’ is closed to new replies.