Styling issue for category thumbs
-
Hey Ben,
Sorry to be back with the same question! I discovered that thumbnails were being created through a plugin and after disabling it (it was using WP CDN to generate the thumbs and causing issues), the video thumbnail images have resorted to their previous look with black bars. Any way to fix this with a CSS modification? Have tried to play around with the code you gave me but nothing works (however it’s still in there). This is what you suggested previously:
.blog .featured-image, .archive .featured-image, .search .featured-image { position: relative; height: 0; overflow: hidden; padding-bottom: 75%; } .blog .featured-image img, .archive .featured-image img, .search .featured-image img { position: absolute; left: 0; height: 100%; width: 100%; object-fit: cover; }
Thanks!
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Styling issue for category thumbs’ is closed to new replies.