Verwendung: Slider über ganze Seite am Bildschirm darstellen

Andreas Steinkellner's Avatar

Andreas Steinkellner

26 Mar, 2025 07:40 AM

Produkt: Tao Contao
Contao-Version: 5.3.30

Hallo,
ich hab eine Seite des Kunden nun auf die Version 5.3.x umgestellt (zuvor 4.13.54)
Ich hab im CSS bei "mod_rocksolid_slider" height: 100vh stehen. Jetzt würde das auch funktionieren, ABER der Effekt, dass das Bild beim scrollen leicht verblasst, fällt dann weg. Wie kann ich das aber jetzt ändern, so dass der Effekt bleibt und das der Slider trotzdem über den ganzen Bildschirm geht?

LG, Andi

  1. Support Staff 1 Posted by RockSolid Theme... on 26 Mar, 2025 02:00 PM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Bearbeiten Sie dafür bitte die Datei files/tao/js/script.js und entfernen folgende Zeile:

    && taglineHeight + originalHeight < documentHeight
    

    Diese Abfrage sorgt dafür, dass der Effekt deaktiviert wird, wenn die Höhe der Tagline größer als das Browserfenster ist.

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