Support » Plugin: Facebook » Simple Request: reduce MIN_WIDTH for Like Box widget

  • Resolved Marcelo Pedra

    (@kent-brockman)


    Hi! I just want to let you know that in several free WP themes, the MIN_WIDTH for the Like Box widget is just too high.
    In example, I have one website using the free theme Typebased from WooThemes, which is not responsive and its sidebar allows widget with no more than 260px in width.
    So, I have to edit the line 44 in class-facebook-like-box.php to look like this:
    const MIN_WIDTH = 260;

    The Like Box Widget now looks great. And I’m pretty sure there are more themes with this issue. That’s why I wanted to propose to reduce the min width const for this widget.
    Thank you

    http://wordpress.org/extend/plugins/facebook/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Niall Kennedy

    (@niallkennedy)

    The minimum supported width of the Like Box social plugin is 292px. The Facebook plugin for WordPress translates these values from the social plugin. You’re free to modify your copy of the code to bring width below Facebook’s “minimum supported width.”

    Oh I see, Niall.
    How can I avoid to touch that value every time the plugin is updated? I do use this plugin and the theme in several websites and it will be a pain in the *** to be aware of the updates and touch one and every case.
    Is there any way to automatize that change if Facebook cannot accept to set the reduce the minimum?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Simple Request: reduce MIN_WIDTH for Like Box widget’ is closed to new replies.