Closed AlessandroVecchi closed 5 years ago
Can i disable masonry at a specific screen size?
You can initialize Masonry conditionally with
if ( matchMedia("(min-width: 720px)").matches ) {
$('.grid').masonry(...);
}
Thanks! Maybe it works.... But i have to count "grid-sizer" too (i dont't understand why)
I want to show only the first three items on small devices. I tried with a css selector but it doesn't work properly
is there another way?