WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Marcelo Pedra
    Member
    Posted 1 year 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

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

  2. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic