Slide in different style

edited June 26 in DJ-ImageSlider
Hi,

I want to make one slide to have different style (look) than the others (For example, Title or text description in different color)
Is possible to do this?
Or how to add class to certain slide?

Comments

  • Any advice?
  • Hello,

    sorry for late answer. You can use the CSS pseudo-class :nth-child to style one of the slide differently.
    ul.djslider-in > li:nth-child(3) .slide-desc-bg {
    background: #fff;
    }
    ul.djslider-in > li:nth-child(3) .slide-desc-text {
    color: #000;
    }
    In the other hand our commercial DJ-MediaTools extension has individual classes for each slide, so it would be easier to style desire slide differently.
    https://www.screencast.com/t/j2hMNe56x

    Best
    Szymon
Sign In or Register to comment.