Numbers in post

Home Forums WordPress Themes – Premium Encounters Numbers in post

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15160
    Dawn
    Member

    How do I remove the 0 in front of the 01, 02, 03, etc. when I have a numbered list in a post? My list show 01., 02., instead 1, 2, 3, and so on…. :unsure:

    Thanks!

    #19923
    Sushil Adhikari
    Moderator

    Hi Dawn…what theme is this for? This will need to be moved to that theme’s category, then I can definitely help you out.

    #19940
    Dawn
    Member

    Encounters

    #15161
    Sushil Adhikari
    Moderator

    Thanks… I moved this to the Encounters forum category.
    In the theme style.css, the ordered list (the one with the 01, 02, etc) is styled like this:

    ol li {
    	list-style: decimal-leading-zero;
    	margin-left: 25px;
    }

    You can override that with a child theme (if using one), or you can use a plugin that lets you edit and create custom css. One plugin you can use is called Simple Custom CSS https://wordpress.org/plugins/simple-custom-css/ But if you are using Jetpack, it has it’s own Edit CSS plugin you can use instead.

    Basically you can take the above and make it look like this:

    ol li {
        list-style: decimal;
        margin-left: 25px;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.