• Hello.

    I want to display all my sponsors on a page using the shortcode.
    It works, but I am not able to resize the sponsor logo using the shortcode argument ‘image_size’. The logos are big and resizing does work in list style.
    Can you please make the images resizable even in grid style?

    Thanks.

    EDIT:

    Why did you insert line 207 in wp-sponsors/tags/3.1.1/includes/class-wp-sponsors-shortcodes.php:

    $style[‘imageSize’] = ‘full’;

    it seems to me that this line is responsible for this behavior

    • This topic was modified 5 years, 3 months ago by frischid. Reason: inserted code line
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Igor Benic

    (@ibenic)

    Hi @frischid,

    thank you for letting me know. I’ll check that and provide a fix.

    Plugin Author Igor Benic

    (@ibenic)

    Hi @frischid,

    I’ve checked the image size and it seems to use all image sizes put there as the option. I’ve tried using all available styles/layouts to be sure.

    If you could provide me with a page where that happens, I could check it out what is going on.

    I did push a 3.2.0 now and that might fix it. But there was no much change into that part.

    • This reply was modified 5 years ago by Igor Benic.

    I am experiencing the same issue with the image_size parameter being ignored when style=grid

    https://alliance.donaldwhitehead.com/our-sponsors/

    Adding the following rule in assets/dist/css/public.css fixes the issue:

    div#wp-sponsors.grid div.sponsor-item img{width:auto;}

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image size when using shortcode and grid style’ is closed to new replies.