Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Post’s featured image as background of container

$
0
0

Replies: 0

Hello,

I like your plugin, but I’m having problem with post’s image with different sizes/resolution. I prefer the featured image set as background (background-size:cover) of the container (fixed or min-height) so that regardless of what size the featured image is, the carousel will have fixed height, not changes every time the image height changes.

I tried to modify your code in carousel-generator.class.php, but I’m clueless (I’m still beginner in PHP, still struggling with it’s syntax). Can you help me achieve this?


Viewing all articles
Browse latest Browse all 59525

Trending Articles