• Resolved davidrosenthal

    (@davidrosenthal)


    Hello! I am trying to get the image to correctly conform to the box – i.e. do not want all of that excess gray rectangle area… I have applied the following CSS:
    .recent-post-slider .post-image-bg img {
    height: auto;
    width: auto;
    object-fit: unset !important;
    max-width: 100%;
    }

    But cannot get the image to fit properly… can you help? Many thanks!

    – David R

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello @davidrosenthal,

    As can see you are using images having size : 150X150px so its better to use the following css:

    .recent-post-slider.design-4 .post-image-bg {
        background: none;
        height: 150px;
    }
    .recent-post-slider.design-4 .wp-medium-5 {
        width: 150px;
    }	
    .recent-post-slider.design-4 .wp-medium-7 {
        width: 80%;
    }
    Thread Starter davidrosenthal

    (@davidrosenthal)

    Works beautifully! Thank you Anoop!

    Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello,

    Please share your rating and review if you like our plugin and support ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Width of thumbnail on slider’ is closed to new replies.