WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. bkazdan
    Member
    Posted 5 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
    Member
    Posted 5 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:

    http://wiki.developers.facebook.com/index.php/Fb:login-button

Topic Closed

This topic has been closed to new replies.

About this Topic