Verwendung: Icon ungewollt links neben dem Logo bei aktiviertem Megamenu

Bernd's Avatar

Bernd

28 May, 2024 03:48 PM

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. Support Staff 1 Posted by RockSolid Theme... on 29 May, 2024 08:53 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:

    .main-navigation > ul > li.-mega::before {
        position: static;
        float: left;
        margin: 0.2em -1em 0 0;
        height: 100%;
        display: flex;
        align-items: center;
    }
    
  2. 2 Posted by Bernd on 29 May, 2024 11:54 AM

    Bernd's Avatar

    Vielen Dank für die schnelle Hilfe. Funktioniert bestens!

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_20240528_174731.jpg 15.6 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