Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to style the new Facebook Page Plugin?

The Facebook Like Box for Pages is being deprecated today, and Facebook is encouraging Page owners to replace it with the new Page Plugin. I have not been able to style the new Page Plugin though, and the white background does not look good on sites with dark backgrounds.

Here is what the Page Plugin code looks like:

<div class="fb-page" data-href="https://www.facebook.com" data-width="500"
data-small-header="false" data-adapt-container-width="true" data-hide-cover="false"
data-show-facepile="true" data-show-posts="true">
<div class="fb-xfbml-parse-ignore">
<blockquote cite="https://www.facebook.com"><a href="https://www.facebook.com">Facebook</a>
</blockquote>
</div>
</div>

I tried inserting style="background-color:black !important;" in both of the divs, but the plugin background color remains white.

Has anyone been able to style the Page Plugin successfully?

like image 719
Knocks X Avatar asked Nov 01 '22 01:11

Knocks X


1 Answers

In their current implementation, Facebook doesn't allow you to change the background color from white. The full list of attributes that they do allow are on their developer docs.

like image 54
rohit Avatar answered Nov 17 '22 09:11

rohit