Overriding facebook css comments

I have a black webpage on yourcashflowpros.com that integrates with fb comments. Fb comments look like $ &%! against black bg, can someone tell me if I can change css to comments or just change the background so that it looks right?

Thanks Todd

+3
source share
2 answers

Well, this is in an iframe, so your css will not affect it. An easy approach would be to make the background container of your fb: comments white block (with a little addition left and right), which will make the comment block correct.

change

<fb:comments width="900"></fb:comments>

to

<fb:comments width="900" style="background-color: white; padding 10px;"></fb:comments>
+4
source

fb: comments css, , .

<fb:comments numposts="4" title="My Blog Comments" css="http://www.yourwebsite.com/css/comments.css?1234" simple="1"></fb:comments>

http://developers.facebook.com/docs/reference/fbml/comments_(XFBML)/

+4

Source: https://habr.com/ru/post/1773903/


All Articles