Eqal image size in columns & first column width
-
Hi Tobias,
I hope you are doing well in these difficult times.
I’ve searched topics on the forum and tried different CSSes proposed there, also tried on my own, but to no avail.
I have mobile operators logos I wanted to put to the table. Since I need them all to be visible in adequate size on mobile devices and the tables have usually a lot of columns too, I use the additional responsive plugin.
The problem is that once I have it more or less working, the width of the first column (and all of the columns on mobile version) seems always to be too big. This is especially visible on the mobile version of the page, but you will notice it on the large screen too.
I would like these columns to match the width of the logos. Similarly, I seek to have the logos of the same size.
This is what I’ve added to the plugin options:
.tablepress-id-21 img {
max-width: 30%;
height: auto;
}.tablepress-id-21 thead th {
white-space: nowrap;
}I’ve tried also adding the following, but it then makes the picures very small :
.tablepress-id-21 .column-1 {
width: 100px;
}Would you please be able to help, so that I could have it working?
The website is here: Link, hope you can access it?
Please scroll down a bit to see the table.
Thank you!
Piotr
The page I need help with: [log in to see the link]
- The topic ‘Eqal image size in columns & first column width’ is closed to new replies.