Verwendung: CSS Anpassung für Tagline

Andreas Bärtschi's Avatar

Andreas Bärtschi

05 May, 2026 06:30 PM

Produkt: Tao Contao
Contao-Version: 5.7

Hallo
ich möchte die Höhe der Tagline anpassen.
Wie kann ich am einfachsten die CSS Anweisungen anpassen (padding, marging), damit die Höhe der Tagline verkleinert wird. Die Fontsize von Page Title und Breadcrumb ändern sich nicht.
Besten Dank für die Unterstützung.
Andreas Bärtschi

  1. Support Staff 1 Posted by RockSolid Theme... on 06 May, 2026 07:49 AM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Fügen Sie dafür bitte folgenden CSS-Code in die Datei files/tao/css/custom.css ein:

    .tagline .page-title {
        margin-top: 0.25em;
        margin-bottom: 0.25em;
    }
    .tagline .mod_breadcrumb {
        padding-top: 0.8em;
        padding-bottom: 0.7em;
    }
    

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • Screenshot_2026-05-05_201253.png 60 KB

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