Mobile View No. of columns
-
Hi there,
Awesome plugin!
I’m trying to change the mobile view to 2 columns for 6 images and have tried the code…
@media(max-width: 600px){
#sb_instagram #sbi_images .sbi_item{ display: none; }
#sb_instagram #sbi_images .sbi_item:nth-child(-n+6){ display: inline-block; }
#sb_instagram #sbi_images .sbi_item { width: 50% !important; }
}However this reduces the individual picture widths (by 50%) to display 2 columns but does not change the individual Instagram picture heights which remains at full size. Therefore I have half width, tall Instagram pictures.
Is there a way to simply have mobile view as 2 columns showing small, original format pictures?
Thanks very much,
Sam
- The topic ‘Mobile View No. of columns’ is closed to new replies.