Verwendung: Scrollen im MegaMenü

Marco Eberhardt's Avatar

Marco Eberhardt

18 Feb, 2026 03:33 PM

Produkt: Tao Contao

Guten Tag,

wie ist es möglich im MegaMenü zu scrollen. Wenn wir dort z.B. 3 Spalten darstellen, aber 9 Hauptkategorien haben, dann werden jede 3 Kategorien nebeneinander und 3 Untereinander dargestellt. Irgendwann sind die Menüpunkte außerhalb des sichtbaren Bereichs. Wie kann man es herstellen, dass man dann auf der Seite nach unten scrollen kann, um die anderen Punkte des Mega Menüs zu sehen?

Danke
Mit freundlichen Grüßen
Marco Eberhardt

  1. Support Staff 1 Posted by RockSolid Theme... on 19 Feb, 2026 11:12 AM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Sie können das Mega-Menu-Dropdown scrollbar machen indem Sie folgenden CSS-Code in die Datei files/tao/css/custom.css einfügen:

    li:hover > .mega-dropdown {
        max-height: calc(100vh - 58px);
        overflow: auto;
    }
    

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