First / Last class on previous/next buttons if not using loop

Created on 28 October 2020, about 4 years ago
Updated 29 September 2023, about 1 year ago

I use views slideshow without loop enabled. If I check the slide, I find a first/last related class - but looking at the control buttons (prev/next) this class is missing. As a result, I can't style the buttons to indicate that they are inactive (prev on first slide and next on last slide). Is there an easy way to fix this?

πŸ’¬ Support request
Status

Needs review

Version

4.8

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany vistree

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States nmangold United States

    You should be able to use the selectors .views_slideshow_controls_text_next a for the next button, and .views_slideshow_controls_text_prev a for the previous button.

  • πŸ‡©πŸ‡ͺGermany vistree

    Hi nmangold,
    thanx for your reply. I know about those classes. What I need is an idicator, if the control is on the first / last slide. But, in the meanwhile I don't work on the old project anymore.

Production build 0.71.5 2024