[Resolved] Using SVG in WP-Show Posts

Home Forums Support [Resolved] Using SVG in WP-Show Posts

Home Forums Support Using SVG in WP-Show Posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1473230
    Oisin

    Hi there,

    When using png images as featured images they look terrible when pulled in by WP-Show Posts so I’m using SVG images instead. However, I’ve run into a second issue because now the rows all look off/not in line.

    I can’t set image height in WP Show Posts or the SVG images disappear. Is there anyway to set a container size for the WP Show Post images?

    Or maybe some other work around?

    Many thanks,

    Oisín.

    #1473398
    Leo
    Staff
    Customer Support

    Hi there,

    You could try setting a width and height property to the image like this:

    .wp-show-posts-image img {
        width: 300px;
        height: 300px;
    }
    #1473425
    Oisin

    Thanks Leo!

    #1473427
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.