• Resolved SK

    (@sooskriszta)


    Is it possible to set text styles for specific list levels? e.g. If I want all text at level 1 to be bold and 1.8em?

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

Viewing 1 replies (of 1 total)
  • Plugin Author threadi

    (@threadi)

    Try this CSS:

    .entry-content > ol.nolg-list > li {
    font-weight: bold;
    font-size: 1.8em;
    }
    .entry-content > ol.nolg-list > li > ol > li {
    font-weight: normal;
    font-size: 1.8rem;
    }

    Add this in Appearance > Customizer > Additional CSS. This will first set the formatting for the 1st level, then reset it to the initial values you used for all levels below. Due to the structure of the HTML code generated by the block editor, there is unfortunately no prettier way.

Viewing 1 replies (of 1 total)

The topic ‘Text format for different list levels’ is closed to new replies.