Verwendung: Zeilenabstand Aufzählung anpassen

ralph.mueller's Avatar

ralph.mueller

25 Jan, 2023 02:35 PM

Produkt: Oneo Contao

Wie kann ich den Zeilenabstand bei einer Aufzählung verändern? Gern global für die gesamte Website. Soll gern zweizeilig sein statt jetzt einzeilig.

  1. Support Staff 1 Posted by RockSolid Theme... on 25 Jan, 2023 03:45 PM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Den Zeilenabstand des Inhaltselements „Aufzählung“ können Sie anpassen indem Sie folgenden CSS-Code in die Datei files/oneo/css/custom.css einfügen:

    .ce_list li:not(:first-child) {
        margin-top: 0.5em;
    }
    

    Ersetzen Sie dabei 0.5em mit dem gewünschten Abstand.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac