Mike Smith
Mike Smith

Reputation: 107

Slick Slider extra margin/padding top

Have run into an issue with slick slider I have never seen before and cannot figure it out myself. The slides seem to be pushed down slightly from their container making them appear outside it and I cannot work out what is causing it. See screenshot: screenshot of margin problem

Anyone got any ideas on what's causing this weird behaviour? I have searched through all my code for any hidden margins or paddings that may be causing this and had no luck.

Live site here. You can see this strange behaviour on the top and bottom sliding sections but not the middle one for some reason.

Thanks in advance!

Upvotes: 0

Views: 1952

Answers (1)

Adrian P.
Adrian P.

Reputation: 175

Change position:relative; to position:absolute; style.css line 306.

    .slick-slider .slick-prev {
        left: 50px;
        z-index: 10;
        position: absolute;
    }

Upvotes: 2

Related Questions