简体   繁体   中英

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: 保证金问题的屏幕截图

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!

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM