[Support request] List in list gutenberg

Home Forums Support [Support request] List in list gutenberg

Home Forums Support List in list gutenberg

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2316484
    Kees

    Hi,

    How do we make a list like this?

    1.
    2.
    3.
    3.1
    3.2
    4
    5
    6

    See: https://www.loom.com/share/0738cf413b6e481b99a7b571f1fbfa28

    #2316532
    David
    Staff
    Customer Support

    Hi there,

    you would need to create your own counter styles, try adding this CSS:

    
    ol {
      list-style-type: none;
      counter-reset: item;
    }
    
    ol > li {
      display: table;
      counter-increment: item;
      margin-bottom: 0.6em;
    }
    
    ol > li:before {
      content: counters(item, ".") ". ";
      
    }
    
    li ol > li {
      margin-bottom: 0;
    }
    
    li ol > li:before {
      content: counters(item, ".") " ";
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.