A
A
Alexander Plyusnin2020-03-22 13:35:35
JavaScript
Alexander Plyusnin, 2020-03-22 13:35:35

Why are buttons to slick dots displayed in the mobile version of Slick slider?

Hello, tell me who understands how to remove these buttons in the Slick slider. Leave only dots
5e773f738bfd1047173801.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
iBird Rose, 2020-03-22
@bioWeb

as if these are the points. just style them. conditionally like this:

.slick-dots {
        list-style: none;
        padding:0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .slick-dots li {
        margin: 0 5px;
    }
    .slick-dots button {
        border: none;
        background: gray;
        width: 10px;
        height: 10px;
        font-size: 0;
        border-radius: 50%;
    }
    .slick-dots .slick-active button {
        background: red;
    }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question