Changing Columns Attribute by Screen Size
-
Hi there,
Love the plugin, this is exactly what I needed!
I’m going to have a page with dozens of document galleries on top of one another, and I have all of them set to display 8 columns. Is there any way to change this column attribute to 4 columns for all galleries when the screen reaches a certain size?
My only idea for this right now is to duplicate every gallery on the page, put them below, change the columns to 4 for all of them, and then use a CSS addition like “@media only screen and (max-device-width: 480px)” and custom classes to hide the bottom (4 column) half on desktop/tablet and hide the top (8 column) half on mobile.
I know this would work, but I’m concerned that with the large number of galleries I’m putting on one page, making the user load all of them twice would make the page load slower. Is there any way to do this automatically?
Thanks a lot,
Collin
Empire Safe Company
- The topic ‘Changing Columns Attribute by Screen Size’ is closed to new replies.