Hi,
I added the facebook comments plugin (https://developers.facebook.com/docs/plugins/comments) in my website, but I am having a hard time to make it responsive.
This is how it looks right now: http://californiaintercambio.com.br/this-is-a-nice-post/
I used this code in my single.php file:
echo ‘<div class=”fb-comments” data-href=”http://californiaintercambio.com.br/blog/” data-width=”100%” data-numposts=”5″></div>’;
I tried adding the code below too, but it didnt work.
data-adapt-container-width=”true”
I appreciate any suggestions.
Thanks, Frederico
Hi fmpedro!
it looks good to me on mobile. About which device are you talking about? try this code to gain control over width on different screen sizes, for iPhone use this:
@media only screen and (max-width: 736px) {
.fb_iframe_widget iframe {
width: 80% !important;
}}
and adjust as needed.
Best regards,
Andy
Hi!
I want to check the page but this link isn’t loading: http://californiaintercambio.com.br/this-is-a-nice-post/
Cheers!
Ismael
It is working for me. Please try opening it again.