Hello!
I wanted to know how to change the ordered lists from numbers to letters.
Does anyone know how to do this?
Thanks!
Hello!
I wanted to know how to change the ordered lists from numbers to letters.
Does anyone know how to do this?
Thanks!
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:
<script>
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)
$('#roman').attr(attr,value);
</script>
Depending on which type you want, you can change the value. Publish your page and you should see the result:
More on this attribute here: