The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Simple Request: reduce MIN_WIDTH for Like Box widget (3 posts)

  1. Marcelo Pedra
    Posted 3 years ago #

    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


  2. Niall Kennedy
    Plugin Author

    Posted 3 years ago #

    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."

  3. Marcelo Pedra
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Facebook
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic