• Resolved gvenditto

    (@gvenditto)


    I manage a site on chamber music and it is customary to list the movements in a classical pieces with roman numerals. I’ve done a fair amount of research and I see that Gutenberg doesn’t actively support this type of list.

    So I’m pleading for help in how to implement the additional CSS to display lists with roman numberals. I’ve tried different variations on this syntax in the “additional CSS box” while editing the lists…

    ol style=”list-style:upper-roman”

    Nothing seems to be working. I’m using Astra Pro for the theme. Thanks for anyone who can point me in the right direction.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • @gvenditto

    Probably the easiest way is to add a custom list name to the list block – perhaps something like roman-list and then add the CSS to change the list style for that class to your theme

    .roman-list {
        list-style: upper-roman;
    }
    Thread Starter gvenditto

    (@gvenditto)

    Thanks for the suggestion. That didn’t work for me but I know I probably didn’t know how to call it. I’m using Astra Pro So I added this to the “additional CSS” box and it worked …

    
    ol {
    	list-style-type: upper-roman;
    }

    I know all of my ordered lists will be roman but for now, that’s OK

    The compositions are now displayed properly
    https://friendsofmusicconcerts.org/jonathan-swensen/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Roman numerals for ordered lists’ is closed to new replies.