[Plugin: WP-FacebookConnect] FB Connect Button on Dark Backgrounds (2 posts)

  1. bkazdan
    Posted 6 years ago #

    On line 99 of common.php there is a line of code:
    <fb:login-button size="large" background="white" length="short" $onlogin_str>

    The static white background color causes a problem when the button is placed on a dark background. Removing background="white" fixed the problem for me, but it seems like something that might be able to be removed from the finished product so that it doesn't have to be modified for others.

  2. ahupp
    Posted 6 years ago #

    The background color defaults to 'light', you can also choose dark and black. I don't think there's a single default that will work fore everyone but I'll add this to the FAQ. Here's the full docs on login-button:


Topic Closed

This topic has been closed to new replies.

About this Topic