.widget-slider .thumbnails>li a{padding:0;} .widget-slider .thumbnails>li{ width:calc(100% / 4)!important; margin:0 !important; max-width:calc(100% / 4)!important; } .thumbnails li.mosaic-tooltip-thumb a img{width:100%;} @media (max-width:800px){ .widget-slider .thumbnails>li a{padding:0;} .widget-slider .thumbnails>li{ width:calc(100% / 1)!important; margin:0 !important; max-width:calc(100% /1)!important; } .thumbnails li.mosaic-tooltip-thumb a img{width:100%; margin-left:auto; margin-right:auto;} }