How to style Ordered list and Unordered list both differently inside Rich text field?

To clarify the issue here, when using a RTB you can set the ALL LIST ITEMS > Style to one of the 6 available styles, however this then applies to all LI items. The app lets you set values for list type on LIST > ALL UNORDERED LISTS and LIST > ALL ORDERED LISTS but these are overridden by the List Items which sit within, which you can only choose one variant of List item > Style on (ALL LIST ITEMS)

To work around this issue, I added the following CSS to the Project > Custom Code > Head Code section, and it sets the list item type back to the default value. This doesn’t work in the preview/editor but will work in the rendered page.

<!--Styles to fix Webflow-->
<style>
  .w-richtext li {
    list-style-type: inherit;
}
</style>
1 Like