Is there a way I can change the background color of the Facebook Social Plugin like button. I would like to have it match the side bar in my Habitat Dark version where it matches the side bar color and is not pure black so that it blends better.
Sample of Facebook Social Plugin like button – http://www.echelondesignteam.com/testfb.html
<iframe src=”http://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FTeam-Redlands%2F171677152869959&width=265&colorscheme=dark&show_faces=false&stream=true&header=false&height=395″ scrolling=”no” frameborder=”0″ style=”border:none; overflow:hidden; width:265px; height:395px;” allowTransparency=”true”></iframe>
very likely yes because the code part “&colorscheme=dark” indicates that there’re some others available. Maybe this page: http://developers.facebook.com/docs/reference/plugins/like/ can help you.
I saw that. There are only two colors available (light and dark) and the “dark” is too dark. Can you recommend some code to change it in CSS where I could get it the same rgb color as the dark Habitat theme side bar? Any help is appreciated. Thank you.
I doubt that you can style the button with css because it’s an iframe (that means that the button is loaded from the facebook servers directly and only they can style it with css. As long as they don’t offer “self hosted solutions” or php configuration parameters for color values you can only use their presets/templates.
The topic ‘Facebook Plugin’ is closed to new replies.