Change element color in numbered list

  • Unknown's avatar

    In my blog on this page — batsandstats.com/2021/12/22/hockey-violence-fighting/ — in the section “Should fighting be banned?” is a numbered list with three items.

    Using CSS, how can I change the three items’ color to black and also make their font size the size as the other body text on the page?

    I am using the Cols theme.

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

  • Hello there,

    Happy to help you with this.

    The CSS you require is:

    
    /* Change ordered list colour */
    
    ol {
        color: black;
    }
    

    With regards to size, I can see that the sizes are the same.

    I hope this helps thus far.

  • Hello there,

    Happy to help you with this.

    The CSS you require is:

    
    /* Change ordered list colour */
    
    ol {
        color: black;
    }
    

    With regards to size, I can see that the sizes are the same.

    I hope this helps thus far.

  • The topic ‘Change element color in numbered list’ is closed to new replies.