WordPress.org

Forums

Image Widget
[resolved] Latest Update Issue (4 posts)

  1. dabernathy89
    Member
    Posted 2 years ago #

    The latest update added an inline style of 'max-width: 100%;', so to override it I have to use '!important', which isn't ideal. Would be nice if there were an option to remove that, at least.

    http://wordpress.org/plugins/image-widget/

  2. Peter Chester
    Modern Tribe
    Plugin Author

    Posted 2 years ago #

    Hi dabernathy89, there is a way to override it. I think this should do it:

    add_filter('image_widget_image_maxwidth', '__return_null');

  3. Peter Chester
    Modern Tribe
    Plugin Author

    Posted 2 years ago #

    Sorry, to be clear, add this to your functions file:

    <?php add_filter('image_widget_image_maxwidth', '__return_null'); ?>

  4. dabernathy89
    Member
    Posted 2 years ago #

    That should work great, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Image Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic