gallery thumbnails placement
-
I am making a website for a friend and I am working with a gallery (using gallery shortcode with lightbox gallery plugin) for different pages.
Some pages will only have 3 images, some maybe 12.
The height of the gallery should be fixed (always 3 images), it should get wider (so more columns) when there are more images.
So far so good, except that when the page won’t fit, i want to scroll horizontally, but I get less colums and more rows, which i don’t want.
I could make the div a fixed width so it will always fit 4 columns, but that will mean a scrollbar wil always appear, even when not needed…example:
https://www.avivamedia.nl/wordpress/test/I need some sort of nowrap thing i think, but i cannot get that to work…
I hope for a css-based solution, cause I am not good in phpThanks for all help and tips!
- The topic ‘gallery thumbnails placement’ is closed to new replies.