Verwendung: HTML anpassen // Caption

Elke's Avatar

Elke

22 Jan, 2025 02:22 PM

Produkt: Slider Pro Contao
Contao-Version: 5.3.22

Ich möchte innerhalb des divs für die Caption einen span einfügen.
Leider finde ich im template rsts_default.html5 keine Möglichkeit dazu.

Wie kann ich das erreichen?

  1. Support Staff 1 Posted by RockSolid Theme... on 23 Jan, 2025 08:54 AM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Der <div class="rsts-caption"> wird vom JavaScript erzeugt und kann deshalb nicht via Template angepasst werden. Die meisten Anpassungen an der Caption sollten sich via CSS realisieren lassen.

  2. 2 Posted by Elke on 23 Jan, 2025 09:01 AM

    Elke's Avatar

    Ich würd mir sehr wünschen, einfach nur einen zusätzlichen <span> rundum den Text zu bekommen.
    Dan könnte ich mir oft ersparen eigene Content Elemente mit Textoverlay zu erstellen.

    Vielleicht geht das ja mal bei einem Update?

    Ich hab es nämlich leider mit Javascript auch nicht reinbekommen.

  3. Support Staff 3 Posted by RockSolid Theme... on 24 Jan, 2025 11:55 AM

    RockSolid Themes's Avatar

    Vielen Dank für Ihr Feedback.

    Wir haben den Punkt auf unserer Wunschliste vermerkt.

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