Archived topic
Wordpress Gallery Image Sizes in Mobile
1 reply · Started by Alan on April 21, 2021
I am thinking about eliminating my Soliloquy sliders (at least on my accommodations pages) to reduce CLS and increase page speed and instead use the default Wordpress gallery. The problem that I have is that in using the default gallery, the photos appear in 3, 4, or 5 columns (whatever you choose) on desktop, tablet, and mobile view, and the mobile view does not look good and is hard to see (see mobile view here https://www.savacations.com/wp-content/uploads/2021/04/Wordpress-Gallery-3-Columns-in-Mobile-View.jpg). The ideal thing for me would be 3 columns in desktop and tablet views and 1 column in mobile view.
Is this possible without using a plugin, such as Envira?
Please let me know.
Thanks,
Hi there,
You should be able to adjust the default gallery w/ custom CSS. Just add a unique class to it so we can specifically style it.
We can use @media rules for this.