Hi @styzer,
Thanks for reaching out!
To display different galleries for desktop and mobile, you’ll need to create two separate galleries, i.e., one for mobile and another for desktop. On the desktop gallery, add the image you want to display on the desktop, and on the mobile gallery, add the image you want to display for mobile only.
Once gallery has been created, please use the following CSS Code inside WordPress Dashboard > Appearance > Customize > Additional CSS.
#envira-gallery-wrap-62{
display:none;
}
@media screen and (max-width: 782px) {
#envira-gallery-wrap-65{
display:none;
}
#envira-gallery-wrap-62{
display:block;
}
}
Note – The gallery class differs from each other. The above class is taken from my setup, so it won’t be working on your end. You’ll need to check your gallery and update it. The class #envira-gallery-wrap-62 is for the mobile gallery, and #envira-gallery-wrap-65 is for the desktop gallery. <span style=”box-sizing: border-box; margin: 0px; padding: 0px;”>To get the gallery class, right-click on the gallery on the front end and click on ins</span>pect, which displays the class as shown in the screenshot?here.
I hope this helps! Could you please let me know if you have any questions?
Thanks! ??