Hi,
thanks for your post, and sorry for the trouble.
The reason for this seem to be the very long words like “Fastighetsförmedling” or “
Kommunikationsstrateg”. These require a certain minimum width, because the browser can not word-wrap them (they don’t contain a space or hyphen). They will therefore always require a certain minimum width and the columns with these words (first and second column) can therefore never be smaller than what those words require. Now, when the browser reduces the width of the table (e.g. on a small screen), it can only reduce the width of the third column. And because of that, the columns have different widths and the images will have different sizes.
So, the only real chance here is to somehow make those words shorter…
Regards,
Tobias
Thank you Tobias for the quick reply. Appreciate it.
I understand. I have now tried to make some of the words shorter, but it seems impossible to make the words as short as it would need to get all the three pictures to fit on the same line on smaller screens.
What do you think is the way forward? I would like to be able to have three pictures on the same line on bigger screens but I would be fine if smaller screens only had two (if it is not possible with three).
Hi,
the best way should indeed be to only show two images next to each other on small screens. Unfortunately, that is not possible with tables (this is not a restriction in TablePress, but with HTML tables in general), as they have a fixed structure.
For that you would therefore need a different HTML structure, e.g. based on HTML <div> elements instead of a table.
Regards,
Tobias
Thank you Tobias. Appreciate your quick answers.
Since I cannot code myself – is there a easy solution for this (plugin?) which would make it work?
Hi,
I’m not aware of a plugin that can directly do this, unfortunately, but something like a gallery might work. With that, each image would be in a container, for which you could use CSS3 with “Media Queries” to change from three to two boxes on small screens.
Regards,
Tobias
Hi Tobias and thanks again.
Could you recommend a simple gallery plugin that would do it?
Hi,
I’m not familiar with gallery plugins, unfortunately, but you might not actually need one. The WordPress media gallery has gotten pretty good and (depending on your theme), that might already be enough.
Regards,
Tobias