Title: Misaligned plugin
Last modified: November 15, 2018

---

# Misaligned plugin

 *  Resolved [japwp](https://wordpress.org/support/users/japwp/)
 * (@japwp)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/misaligned-plugin/)
 * Installed the FB plugin but it’s shown misaligned….
 * [https://ibb.co/iN72aL](https://ibb.co/iN72aL)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [PluginOps](https://wordpress.org/support/users/umarbajwa/)
 * (@umarbajwa)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/misaligned-plugin/#post-10883719)
 * Hi,
 * Please share the URL of page where feed is placed, I will look into it.
 * Thanks
 *  [zebontheweb](https://wordpress.org/support/users/zeburock/)
 * (@zeburock)
 * [7 years ago](https://wordpress.org/support/topic/misaligned-plugin/#post-11510931)
 * How did this get resolved? My widget is also misaligned
    [https://www.barbarabrownart.com/](https://www.barbarabrownart.com/)
 *  Thread Starter [japwp](https://wordpress.org/support/users/japwp/)
 * (@japwp)
 * [7 years ago](https://wordpress.org/support/topic/misaligned-plugin/#post-11512224)
 * I guess it’s not resolved :/
 *  Plugin Author [PluginOps](https://wordpress.org/support/users/umarbajwa/)
 * (@umarbajwa)
 * [7 years ago](https://wordpress.org/support/topic/misaligned-plugin/#post-11512243)
 * Hi,
 * It is misaligned because for some reason its width becomes 0px. Add following
   custom css on your page and it will fix it.
 * <style>
    .social-feed-main-container {width:100% !important;} </style>
 *  Plugin Author [PluginOps](https://wordpress.org/support/users/umarbajwa/)
 * (@umarbajwa)
 * [7 years ago](https://wordpress.org/support/topic/misaligned-plugin/#post-11512244)
 * [@japwp](https://wordpress.org/support/users/japwp/) [@zeburock](https://wordpress.org/support/users/zeburock/)
 *  [zebontheweb](https://wordpress.org/support/users/zeburock/)
 * (@zeburock)
 * [7 years ago](https://wordpress.org/support/topic/misaligned-plugin/#post-11514379)
 * Thanks! That did it 🙂
 *  [bill_mcgonigle](https://wordpress.org/support/users/bill_mcgonigle/)
 * (@bill_mcgonigle)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/misaligned-plugin/#post-11839931)
 * here’s a patch to fix it by default:
 *     ```
       --- public/templates/default/template.php.bak   2019-08-16 17:21:02.068000000 -0400
       +++ public/templates/default/template.php       2019-08-16 17:37:54.600000000 -0400
       @@ -1,9 +1,21 @@
        <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
       -<div class="social-feed-main-container" style="width: <?php echo intval( $template_var['width'] ) ?>px;max-width: 100%">
       +<div class="social-feed-main-container" style="width: <?php 
       +  if( intval( $template_var['width'] ) != 0)  {
       +    echo intval( $template_var['width'] ) , 'px';
       +  } else { 
       +    echo '100%';
       +  }
       +?>;max-width: 100%">
        <div
   
        id="feed<?php echo intval($id) ?>"
       -style="width: <?php echo intval( $template_var['width'] ) ?>px;max-width: 100%"
       +style="width: <?php 
       +  if( intval( $template_var['width'] ) != 0)  {
       +    echo intval( $template_var['width'] ) , 'px';
       +  } else { 
       +    echo '100%';
       +  }
       +?>;max-width: 100%"
        data-ajaxlink="<?php echo esc_url( $template_var['ajax_link'] ) ?>" 
        data-facebook="<?php esc_attr_e( $template_var['facebook_profile'] ) ?>" 
        data-fbtoken="<?php esc_attr_e( $template_var['fb_token'] ) ?>" 
       ```
   
 * It looks like this is because wssf_feed_width cannot be set in the free version
   but the code assumes there will be a valid value.
    -  This reply was modified 6 years, 9 months ago by [bill_mcgonigle](https://wordpress.org/support/users/bill_mcgonigle/).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Misaligned plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/add-facebook_383c54.svg)
 * [Social Feed | All social media in one place](https://wordpress.org/plugins/add-facebook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/add-facebook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/add-facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/add-facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/add-facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/add-facebook/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [bill_mcgonigle](https://wordpress.org/support/users/bill_mcgonigle/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/misaligned-plugin/#post-11839931)
 * Status: resolved