Verwendung: Icon ungewollt links neben dem Logo bei aktiviertem Megamenu

Produkt: Tao Contao
Contao-Version: 5.3

Hallo Support-Team,

in der horizontalen Hauptnavigation oben erscheint das Icon, das per CSS-Klasse einer Seite gegeben wird (Bsp.: .icon-arrow-3-right, siehe Screenshot), momentan links außen neben dem Logo, sobald das Megamenu für genau diese Seite aktiviert ist. Ist es möglich, das Icon genau wie bei einer Seite ohne aktiviertem Megamenu wie vorgesehen direkt links neben dem Seitennamen zu platzieren?

Besten Dank und viele Grüße

Bernd

  1. Vielen Dank für Ihre Frage.

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

    .main-navigation > ul > li.-mega::before {
        position: static;
        float: left;
        margin: 0.2em -1em 0 0;
        height: 100%;
        display: flex;
        align-items: center;
    }
    
  2. Vielen Dank für die schnelle Hilfe. Funktioniert bestens!

Reply to this discussion Internal reply only staff will see it

Markdown

Attaching KB article:

» »

Read more…

Already uploaded files

  • Screenshot_20240528_174731.jpg 15.6 KB
Attach files

Up to 10MB each.

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