• Resolved boldlybalanced

    (@boldlybalanced)


    I am having trouble changing the size of the image on the slider. Right now, the images are huge and do not fit the area appropriately. Is there a way to change this so the whole image is included and so that the slider is larger? I tried using the shortcode media_size but that didn’t work.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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,

    Thread Starter boldlybalanced

    (@boldlybalanced)

    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 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Changing Image Size’ is closed to new replies.