Image height and object-fit:cover
-
Hi, first of all, thank you for this plugin. It’s perfect!
Now, we have an image that’s 4000px wide. We’d like for it to be displayed responsively across all display sizes and Elementor makes it pretty easy to set the height for different screen sizes (we have set the height of desktop image to be height: 90vh and for the mobile devices height: 57vh). We ensure correct image sizing by setting up an object-fit property to cover. (You can see it on the website)
Is there a way to configure this within the plugin image? I can see that whenever I resize the viewport the image is kind of reloaded with new dimensions? My custom styles I set in developer tools get erased during that process.Thank you.
The page I need help with: [log in to see the link]
- The topic ‘Image height and object-fit:cover’ is closed to new replies.