[Resolved] Distance between paragraphs in enumerations

Home Forums Support Distance between paragraphs in enumerations

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #887419
    Bernhard

    Hi,
    I want to have the same distance between paragraphs in enumerations as defined for all paragraphs in the customizer.

    #887658
    David
    Staff
    Customer Support

    Hi there,

    you can try some CSS like this:

    .entry-content li {
        margin-bottom: 1.5em;
    }

    It however may effect any plugin content that uses the li element.
    If thats the case then when creating your list you would add a class to the parent element in the post Text editor eg.

    <ol class="enumerations">
        <li>List item</li>
        <li>List item</li>
        <li>List item</li>
        <li>List item</li>
    </ol>

    And this CSS:

    .enumerations li {
        margin-bottom: 1.5em;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.