Hi. I have a standard container > row > columns ‘thumbnail gallery’ type of setup, which works perfect when viewed on a desktop PC (the array of thumbnails adjusts as I scale down the browser window, going from 6 thumbnails across (in a big window) to 2 thumbnails across (in a small window). All good…
But, when viewed on an iTouch or Nexus6 tablet, all the thumbnails stack vertically, regardless of anything… almost like there’s a ‘carriage return’ after each thumbnail.
I suspect it might be due to a css rule I have applied to the thumbnail image elements, where they might be designated as Block items (to allow for centering), but it’s odd that it works fine in Pinegrow (on the sm and xs display modes, as well as in various device display modes), as well as working fine in a browser on my desktop computers… almost like anything ‘non-windows’ will display it wrong.
I added a coloured background to the various elements, just to see their actual borders, and despite having a bit of padding on the left/right sides, the thumbnails appear as if they should be able to fit 2 across within the row. So, I’m not really sure what could be going on.
The only theory I have so far, is that it’s due to some of the CSS rules… Block element? Padding? Lack of a Max-Width somewhere? Still, it’s odd that it does work on all the PC machines.
Any ideas what might be causing this? In the meantime, I’m going to continue tinkering and see if I can find out what the problem is.
To be a bit more specific, here’s the structure I currently have:
-Container for entire page/site
–Div (for each main section of the site)
—Row (for each row of thumnails in each section)
----Column (for each thumbnail in each row)
Should I just have the one container holding all of the page (each div section), or should I instead have a container for each section (rather than the div), and no ‘continaing everything on the page’ container? The sectional divs are really just to organize my tree, so that each section of my site is contained within a div, rather than a bunch of elements/tags lying around in the ‘root’.
So, for example:
Overall Container
-Div:Animation section
–Row: Thumbnail row 1
—Column: Thumbnail 1
—Column: Thumbnail 2
—Column: Thumbnail 3
–Row: Thumbnail row 2
—Column: Thumbnail 4
—Column: Thumbnail 5
—Column: Thumbnail 6
-Div: VFX section
–Row: Thumbnail row 1
—Column: Thumbnail 1
—Column: Thumbnail 2
—Column: Thumbnail 3
–Row: Thumbnail row 2
—Column: Thumbnail 4
—Column: Thumbnail 5
—Column: Thumbnail 6
Should I get rid of the main container, and make each sectional div into a container? What might be causing the columns to be stacked vertically on mobile devices (but not on Windows desktops)?