Column field when using image
-
Great plugin, haven’t looked into the extra php and sql executed in the backend or frontend but.
But just some estitics for now. I would prefer some css fixes once it comes to using an ACF field which is an image as a column. Object fit is not ideal once it’s a svg image. Mainly if it’s an photo over a logotype or png or svg.
I wouldn’t specify height, add some padding and background color as sometimes things as an image is white. Similar to the media library, just default it to CurrentColor or something;
element.style {
}
.widefat tbody td[class*=”–qef-type-file–“] img, .widefat tbody td[class*=”–qef-type-image–“] img, .widefat tbody td[class*=”–qef-type-gallery–“] img {
max-width: 100%;
height: auto;
width: 80px;
/* height: 80px; */
/* -o-object-fit: cover;*/
/* object-fit: cover; */
background-color: currentColor;
padding: 3px;
}Thanks in advance.
- The topic ‘Column field when using image’ is closed to new replies.