Changing ordered list from numbers to roman letters


I wanted to know how to change the ordered lists from numbers to letters.
Does anyone know how to do this?


Hi @c0c0,

Welcome to the forum!

You can do this by adding an attribute to the ordered list element.

Give your list an ID (ex. ‘roman’) then paste this into Page Settings > Custom Code > Below </body> tag:

const attr = 'type';
const value = 'i'

// Change 'value' variable to any of the below (a, A, i, I)
// a	Alphabetically ordered list, lowercase (a, b, c, d)
// A	Alphabetically ordered list, uppercase (A, B, C, D)
// i	Roman numbers, lowercase (i, ii, iii, iv)
// I	Roman numbers, uppercase (I, II, III, IV)



Depending on which type you want, you can change the value. Publish your page and you should see the result:

Roman Numerals OL 2022-05-31 at 10.30.35 am

More on this attribute here:


Thank you SO much @mww I really appreciate your help! It worked!

1 Like