Skip to content

Instantly share code, notes, and snippets.

@abrudtkuhl
Created August 8, 2012 18:05
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save abrudtkuhl/3297121 to your computer and use it in GitHub Desktop.
Save abrudtkuhl/3297121 to your computer and use it in GitHub Desktop.
WordPress comments.php for Responsive Facebook Comments
<div class="fb-comments"data-href="<?php the_permalink(); ?>" data-num-posts="2" mobile="false"></div>
/* facebook comments */
.fb-comments, .fb-comments iframe[style], .fb-like-box, .fb-like-box iframe[style] {width: 100% !important;}
.fb-comments span, .fb-comments iframe span[style], .fb-like-box span, .fb-like-box iframe span[style] {width: 100% !important;}
@andreiluca
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment