Maybe I am just tired but I couldn鈥檛 find an option in the Instagram feed element to control the displayed image count in different screen sizes. What I want to achieve:
Mobile: 9 images in 3 rows
Tablet: 12 images in 3 rows
Desktop: 18 images in 2 rows
Is it possible somehow? Sorry if this is a dumb question.
You can change the number of columns per breakpoint, but can鈥檛 change the number of posts per breakpoint, as it鈥檚 one request. Just set it to 18, and hide the unnecessary ones per breakpoint.
/* Add to tablet breakpoint */
%root% li:nth-child(n+13) {
display: none;
}
/* Add to mobile breakpoint */
%root% li:nth-child(n+10) {
display: none;
}
Bandwidth shouldn鈥檛 be an issue these days, and I鈥檇 say you wouldn鈥檛 even notice if it takes slightly longer. But of course: the more to load, the longer it takes.