Quantcast
Channel: Topic Tag: mobile | WordPress.org
Viewing all articles
Browse latest Browse all 22090

the_champ on "[Plugin: Super Socializer] Width not changing to 100% for mobile"

$
0
0

Try following steps:
1. Open "wp-content/plugins/super-socializer/js/front/facebook/commenting.js" in code editor.
2. Search following code:

class="fb-comments"

3. Replace the code searched above with following:

class="fb-comments-unloaded"

4. Search following code:

FB.init({

5. Place following code above the code searched in previous step:

jQuery('.fb-comments-unloaded').each(function(){
	var $fbCom = jQuery(this),
		contWidth = $fbCom.parent().width();
	$fbCom.attr('data-width', contWidth)
		  .removeClass('fb-comments-unloaded')
		  .addClass('fb-comments');
});

6. Save the file back.


Viewing all articles
Browse latest Browse all 22090

Trending Articles