Tao: Beim runter scrollen verkleinert sich das logo

Thomas Ritz's Avatar

Thomas Ritz

09 Jul, 2024 11:51 AM

This comment was split from the discussion: Verwendung: TAO: Hintergrund der Elemente transparent

Hallo
Ich habe die Tagline mit margin-top: -85px; unter die Navigation verschoben.
Beim runter scrollen verkleinert sich das logo und bleibt sichtbar. dies sieht je nach Hintergrund nucht gut aus.

Wie kann ich das Logo und die Navigation beim runter scrollen ausblenden lassen?

  1. Support Staff 1 Posted by RockSolid Theme... on 09 Jul, 2024 11:54 AM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Informationen zur Steuerung der Logo- und Navigationshöhe beim Scrollen finden Sie in folgendem Beitrag: https://help.rocksolidthemes.com/discussions/contao/2778#comment_37668105

  2. 2 Posted by Thomas Ritz on 09 Jul, 2024 03:15 PM

    Thomas Ritz's Avatar

    Habe unter dem Link leider keine Lösung gefunden. Ich möchte das Logo und die Navigation beim runter scrollen ausblenden lassen, weil das Logo und die Navigation transparent über dem Hintergrund liegt.

  3. Support Staff 3 Posted by RockSolid Theme... on 10 Jul, 2024 04:19 PM

    RockSolid Themes's Avatar

    Um die Navigation nicht am oberen Bildschirmrand zu fixieren, können Sie folgenden CSS-Code zusätzlich verwenden:

    .page-header.is-fixed {
        position: absolute;
    }
    

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