0
$(document).ready(function() {
        $('#vertical').lightSlider({
            gallery:true,
            item:1,
            vertical:true,
            verticalHeight:700,
            vThumbWidth:50,
            thumbItem:8,
            thumbMargin:-250,
            slideMargin:0,
            responsive : [
                {
                    breakpoint:800,
                    settings: {
                        vertial:false,
                        item:1,
                        slideMove:1,
                        slideMargin:6,
                        thumbItem:16,
                        thumbMargin:-250,
                    }
                },
            ]
        });
    });

That is not working for me. Why ?

Azametzin
  • 5,223
  • 12
  • 28
  • 46
  • 1
    I'm unfamiliar with the code syntax you are writing - it isn't just normal Javascript right? In case it is feasible for you I'd recommend using nativ CSS media queries. – Phy Mar 16 '20 at 23:41
  • Several questions and answers on how to detect a mobile browser, https://stackoverflow.com/questions/11381673/detecting-a-mobile-browser while is not always infallible, i would start there – Dvid Silva Mar 17 '20 at 00:17
  • It's normal Javascript – Programer1998 Mar 17 '20 at 15:07

0 Answers0