How to force a number of galleries on one line
TallPhotoGuy
Registered Users Posts: 160 Major grins
I have 12 galleries, and want 3 rows of 4. Do I need 3 content blocks, 1 for each row, or 12 content blocks. What is the best way. I don't thing forcing the picture size will work, will it. Suggestions?
0
Comments
- the thumbnail sizes (1:1, 3:1, etc.)
- margins via the dimensions triangle icon on the block
- container width via Layout on the right side flyout section.
Play with them to see what you can get.
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Denise would this potential problem be sidestepped by setting the maximum container width? To some extent?
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
If you absolutely want to force this on all devices, it's pretty easy because thumbnails normally have their widths set as percentages anyway. Set the display to grid, and add this CSS:
If you only want to alter the thumbnails if the screen is a certain width or larger, use this instead:
Add that code to a CSS block on the same page as your gallery block.
Please check out my gallery of customisations for the New SmugMug, more to come!
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com