Remove Space on Justified Gallery for Mobile
-
Very close to solving the mobile display issue with a justified gallery!
@media only screen and (max-width: 767px) { .foogallery .fg-item .fg-item-inner { width: 50% !important; height: 50% !important; max-width: 50% !important; max-height: 50% !important; } }
Using this custom css, the images and captions now display smaller once the screen size is less than 767px.
The final part of the problem that I can’t solve is removing all the empty white space around the images. See a screenshot here. Using the inspect tool, it appears that the blank space is being created through another series of classes; see here. I can’t seem to solve the blank space issue when I try to target fg-type-image and/or fg-positioned and/or fg-loaded.
Any suggestions on how to close the gap? Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Remove Space on Justified Gallery for Mobile’ is closed to new replies.