Support » Plugin: Ocean Posts Slider » Object-fit Cover

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Amit Singh

    (@apprimit)

    Hello,

    Try to use the image of the same size to fix it. Also, go to Dashboard > Posts slider > Edit item > Portfolio settings > General tab and select an image size to view the changes.

    Thread Starter milettic

    (@milettic)

    But, I want to be able to add any size and fit like a cover.

    Plugin Author Amit Singh

    (@apprimit)

    Try to add the below css code to the Customize > Custom CSS section and check it works or not –

    .oceanwp-post-list.two img {
        background-size: cover;
    }
    Thread Starter milettic

    (@milettic)

    It doesn’t work for me. I’ve tried different CSS but strangely nothing works…
    Thank you

    Plugin Author Amit Singh

    (@apprimit)

    Try this one. It should work –

    .oceanwp-post-list.two img {
        background-size: cover !important;
    }
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Object-fit Cover’ is closed to new replies.