Hello,
Thanks for reaching here.
Please go to wp-content->theme->yourtheme->style.css file and put below CSS.
.recent-post-slider.design-4 .post-image-bg{ height: 250px !important; }
.recent-post-slider.design-4 .post-image-bg img{ object-fit: contain !important; object-position: unset !important; }
Note:- If you update the plugin in the feature then your changed core plugin file change will be lost.
Please let me know if you have any other query.
If you like this Plugin Please give your Important Rate and Review Here…
Thanks,
This CSS makes it so the picture does not fill the full screen, is there different coding that will change this?
Hello,
There is no such CSS code available which perfectly fit any size image in any size box if we forcefully try to fit it will stretch the image.
Actually, practically it’s a very challenging task to perfect fit images in the box
because of its not possible same size image every time, so we write CSS this way image fit in the box and overflow image part will hide.
if you want a perfect image in the box then upload a perfect box size image.
Thanks
-
This reply was modified 6 years, 11 months ago by
Rafik.
Hello @patelketan,
Please always ask to add custom css under custom css sction of the theme. This is a safe side where user can update the plugin or theme without any issue 🙂