Topic-icon How to get rid of border style on fan box?

Active Subscriptions:

None
12 years 10 months ago #11180 by BeTheDance
I need to get rid of the border style:

.fbDarkWidget .fan_box {
border-style: solid;
}
The topic has been locked.
Support Specialist
12 years 10 months ago #11203 by alzander
The border color was something that Facebook recently added as a parameter. There's currently no way to hide it, but you can configure it so that it's the same color as your background behind the module, making it effectively invisible. In the upcoming 4.0 release, this will be a configurable parameter, but until then, you'll need to make a minor modification to force the color to whatever you want.

In the /plugins/system/jfbcsystem/jfbcsystem.php file, around line 575, you'll see the line below. Add the border_color=#FF0000 parameter you see here:
$fanString = '<div class="jfbcfan"><fb:like-box border_color="#FF0000" ';

Hope that helps, but if you run into other issues or have other questions, just let us know!
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #11208 by BeTheDance

alzander wrote: The border color was something that Facebook recently added as a parameter. There's currently no way to hide it, but you can configure it so that it's the same color as your background behind the module, making it effectively invisible. In the upcoming 4.0 release, this will be a configurable parameter, but until then, you'll need to make a minor modification to force the color to whatever you want.

In the /plugins/system/jfbcsystem/jfbcsystem.php file, around line 575, you'll see the line below. Add the border_color=#FF0000 parameter you see here:

$fanString = '<div class="jfbcfan"><fb:like-box border_color="#FF0000" ';

Hope that helps, but if you run into other issues or have other questions, just let us know!
Alex


Hi Alex,

Thanks, tried it. No go.

Here is the line that I replaced in the file:
$fanString = '<div class="jfbcfan"><fb:like-box border_color="#161819"';

If you go to the home page of this new site: www.MarcKoltunMusic.com, the FB fan module is on the right. I definitely need a dark border here.
Any other suggestions?
Thanks much,
Teresa
The topic has been locked.
Support Specialist
12 years 10 months ago #11269 by alzander
Teresa,
Sorry for the delayed response on this. We've been investigating what's going on, and unfortunately, don't have great news to report. The border color looks to have a bug where, if the header, stream, and faces are disabled, the border color parameter is simply ignored. We tested with your page and some others all with the same result. Additionally, if you try Facebook's configuration tool below, you'll see that if you set the border color and then start unchecking boxes, it will simply stop working.

We'll file this as a bug with Facebook (if it hasn't already been), but this likely won't be flagged as a critical problem.. which means it may take weeks or even months to be fixed.

Sorry for the inconvenience. If it helps, I actually think it looks pretty good on the site you linked too as there are other elements with the light gray color I see. It could be much worse :)

Good luck, and let us know if you have any other questions or issues,
Alex
The topic has been locked.
Support Specialist
12 years 10 months ago #11270 by alzander
Realized I didn't paste the link to the configuration tool from Facebook:
developers.facebook.com/docs/reference/plugins/like-box/
The topic has been locked.