Verwendung: Mega Menu Transparent

Jörg's Avatar

Jörg

24 Jun, 2021 08:36 AM

Produkt: Tao Contao
Contao-Version: Version 4.9.13

Hallo zusammen,

leider habe ich den FAQs nichts gefunden. Gibt es die Möglichkeit, das Mega Menu mit einem Hintergrundbild transparent zu gestalten? Zum Beispiel 35%?

Danke! Und viele Grüße

  1. Support Staff 1 Posted by RockSolid Theme... on 24 Jun, 2021 09:43 AM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Soll das gesamte Dropdown halbtransparent werden, oder nur das Bild sodass die Hintergrundfarbe des Dropdowns durch das Bild sichtbar wird?

    Ersteres lässt sich umsetzen, indem Sie folgenden CSS-Code in die Datei files/tao/css/custom.css einfügen:

    li:hover > .mega-dropdown {
        opacity: 0.65;
    }
    
  2. 2 Posted by Jörg on 24 Jun, 2021 09:56 AM

    Jörg's Avatar

    Super! Perfekt. Genau so!
    Lieben Dank!

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