Want images to "stack" vs. show side-by-side
-
I posted on this some time ago but need to reopen the question. I have 3 images on a page that I’d prefer “stack” rather than display side-by-side.
I understand html and css fairly well and have assumed that WP floats the images which means the browser will attempt to fit them side-by-side if space allows.
In an attempt to override this, the first post got a suggestion to add a statement to the theme’s style.css that applied { clear:both } for all the caption IDs for the images. That worked at the time but isn’t working now. The difference may be the size of the thumbnails.
Regardless, that solution doesn’t work for this page and these images.
The question is: can I force images to NOT display side-by-side? Am I making the correct assumption that what WP is doing is floating the images?
Although I have reasonable html and css skills I can’t say the same for whoever takes over my role re: the site, so I’d prefer a solution that is durable (having to change the css whenever new images are uploaded is more work than I’d like to document).
As much as I’d like a solution, I’d like to understand what WP is doing with these images that displays them side-by-side.
Thanks
Tom
- The topic ‘Want images to "stack" vs. show side-by-side’ is closed to new replies.