Image Widget
Widget size (4 posts)

  1. daretattoo
    Posted 3 years ago #

    Hy all,

    I need to add option for the width of the widget. I've changed the width with CSS using the class .widget_sp_image but in this case i need it like an input field in the widgets options. Can someone PLEASE hep me out with this one !?

    Thanks in advance,


  2. Peter Chester
    Modern Tribe
    Plugin Author

    Posted 3 years ago #

    There are image width controls in the widget itself. But if you want to override them you can try using the new filters that just got added in the latest version of the image widget (3.3.7) http://wordpress.org/extend/plugins/image-widget/other_notes/

    Specifically image_widget_image_width

    Does that solve your problem?

  3. daretattoo
    Posted 3 years ago #

    Thanks Peter for your reply. Using "image_widget_image_width" filter will control the width of the image. What I need is adding option for the width of the widget it self, not the image inside the widget. I'll use the widget in horisontal sidebar, so i need the end user to be able to set the width of the widget for example 215px or 1/4.

    Thanks again for your willing help.

  4. daretattoo
    Posted 3 years ago #

    Peter my head will blow up :)) i'm trying hard to achieve what i need from this plugin but php is not what i do know best. Can you PLS be more specific how can i add dropdown list in the options (like the one for ALIGN) where the end user can choose the width of the widget...for example: 1/4, 1/3, 2/3... Please help me out with this!!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic