• Resolved alramyr

    (@alramyr)


    Hi,

    I have another question. I would need an imagesize that is smaller than medium but shows the whole width of the image. Is there some way to overwrite the image styles?
    I thought I could use the id for this, but the id seems to be generated newly everytime.

    I would need something like with a fixed height and an automatically generated width.

    {
    height: 250px;
    width: auto;
    }

    That would mean, of course, that the images have a different width, but that looks better than different heights in my page. The thumbnail is a better height for me but the automatically generated cutout tends to be strange.

    Is there some way to do this?

    Regards,
    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hello,

    For making the image appear like that, try to target the images like .latest-post-selection article img { height: 250px; width: auto; }

    Also when you embed the shortcode, there is the CSS option that allows you to target more the exact shortcode you need, so that the styles do not apply to all.
    Let’s say you have in the shortcode [latest-selected-content .... css="class1 class2 my-css-class"], then you could use the selector like .latest-post-selection.my-css-class article img

    Let me know if this works.

    Regards,
    Iulis

    • This reply was modified 5 years, 9 months ago by Iulia Cazan.
    • This reply was modified 5 years, 9 months ago by Iulia Cazan.
    Thread Starter alramyr

    (@alramyr)

    Thanks, got it working. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image size between thumbnail and medium’ is closed to new replies.