Answer the question
In order to leave comments, you need to log in
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
.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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question