image size and table width
-
Page – http://artdeco.org/explore/registry
This is a 2 part question.
1. The first column of this table has an image. Some how the size was bigger and now is showing smaller. I am not sure how to get it back.
I did try a bunch of other things like
.tablepress img {
max-width: 100%;
}or .tablepress-id-1 .column-1 img {
width: 150px !important;
}nothing worked.
2. Also I need the table to fit, so I do not have to scroll left and right.
Here is the below is the custom css we are using now.
.tablepress thead th {
font-size: 14px;
color: #000000 !important;
}.tablepress td {
font-size: 12px !important;
color: #000000 !important;
}.tablepress .odd td {
background-color: #E5E5E5;
}.tablepress .even td {
background-color: #F0F0F0;
}.tablepress thead th,
.tablepress tfoot th {
background-color: #E5E5E5;
font-size: 14px;
}.tablepress-id-1 tbody td {
font-size: 12px !important;
color: #000000 !important;
}.tablepress-id-1 .column-1 {
width: 160px !important;
}.tablepress tbody td,
.tablepress thead th,
.tablepress tfoot th {
padding: 5px;
}
The topic ‘image size and table width’ is closed to new replies.