N
N
Norum2021-07-04 00:15:18
css
Norum, 2021-07-04 00:15:18

How to remove extra background on active slide in Slick slider navigation?

When the slide is active, the white background is displayed in the marker, which I set for inactive slides, how can I make it disappear on the active slide?

All code https://jsfiddle.net/mpvow81d/
The site itself is ilyin1ib.beget.tech

60e0d359e17f5318618041.jpeg

.slick-dots li button {
    height: 4px !important;
    padding: 4px !important;
    width: 20px !important;
    background: #fff!important;
    opacity: 0.5;
}

li.slick-active {
    width: 40px !important;
    height:100% !important;
    background: @orange !important;
    z-index:99 !important;
    transition: 0.3s;
}


.slick-dots li button:before {
  display:none;
}


.slick-dots {
  bottom: 100px !important;
  box-sizing: border-box;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
frie666, 2021-07-04
@frie666

dots: false

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question