Forums / Addon Sideboxes / Facebook Fan Sidebox - remove the border?

Facebook Fan Sidebox - remove the border?

Started by bertles86 on 22 Sep 2010, 11:11 AM · Views: 6,148

Results 1 to 15 of 15
22 Sep 2010, 11:11 AM
#1
bertles86 avatar

bertles86

New Zenner

Join Date:
Jan 2010
Location:
United Kingdom
Posts:
46
Plugin Contributions:
0

Facebook Fan Sidebox - remove the border?

Hi folks,

I've got a Facebook Fan Sidebox (Link).

Technically it works perfectly, just as I want it to. But visually, I'd really like it to not have the frame around the content inside the box, as the sidebox itself has its own border, there's no need for two!

So any ideas on removing it, while not affecting the functionality of the box? Or would it require a total recode?

There's an image of it, and the border I want to lose...any help at all would be wonderful.

Cheers :smile:

<a href="http://www.cranbrookconserves.co.uk">Buy Jam & Chutney Online</a>

22 Sep 2010, 11:14 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Facebook Fan Sidebox - remove the border?

in the stylesheet enter box tag and border: none;

Zen-Venom Get Bitten

22 Sep 2010, 11:16 AM
#3
bertles86 avatar

bertles86

New Zenner

Join Date:
Jan 2010
Location:
United Kingdom
Posts:
46
Plugin Contributions:
0

Re: Facebook Fan Sidebox - remove the border?

Hey kobra,

Thanks for the reply. Should I create a new field in the stylesheet with the attribute "border: none;" ?

<a href="http://www.cranbrookconserves.co.uk">Buy Jam & Chutney Online</a>

22 Sep 2010, 11:19 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Facebook Fan Sidebox - remove the border?

Now that you provided a link
scrap the iframe

Zen-Venom Get Bitten

22 Sep 2010, 11:25 AM
#5
bertles86 avatar

bertles86

New Zenner

Join Date:
Jan 2010
Location:
United Kingdom
Posts:
46
Plugin Contributions:
0

Re: Facebook Fan Sidebox - remove the border?

If I scrap the iframe, would the whole thing not stop working? What would I replace it with? Apologies for being slow on the uptake...

<a href="http://www.cranbrookconserves.co.uk">Buy Jam & Chutney Online</a>

22 Sep 2010, 11:27 AM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Facebook Fan Sidebox - remove the border?

It looks like that content is being served by Facebook, so you can't change the styling. You might check with them to see whether they have a border-less version. Amazon does for its book iframe links.

22 Sep 2010, 11:48 AM
#7
bertles86 avatar

bertles86

New Zenner

Join Date:
Jan 2010
Location:
United Kingdom
Posts:
46
Plugin Contributions:
0

Re: Facebook Fan Sidebox - remove the border?

Cheers stevesh, I followed this tutorial to make it in the first place, so it's using XFBML code and not iFrame from Facebook, or are they both types of iframe?

<a href="http://www.cranbrookconserves.co.uk">Buy Jam & Chutney Online</a>

22 Sep 2010, 12:13 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Facebook Fan Sidebox - remove the border?

Your source code shows the iframe version, so ...

You might try re-doing it with the XFBML version and/or ask Kerrin about it.

22 Sep 2010, 12:17 PM
#9
bertles86 avatar

bertles86

New Zenner

Join Date:
Jan 2010
Location:
United Kingdom
Posts:
46
Plugin Contributions:
0

Re: Facebook Fan Sidebox - remove the border?

Ah sorted it, have a look now - perfect! Cheers for the tips.

<a href="http://www.cranbrookconserves.co.uk">Buy Jam & Chutney Online</a>

1 Feb 2011, 6:02 AM
#10
10alliance avatar

10alliance

New Zenner

Join Date:
Feb 2011
Posts:
3
Plugin Contributions:
0

Re: Facebook Fan Sidebox - remove the border?

Is there any way you could show what you added to your stylesheet? I'm not entirely sure where and what I need to add to get rid of the spacing on my facebook feed.

My site is shop.10alliance.com

Thanks

7 Feb 2011, 6:03 PM
#11
bigjayce avatar

bigjayce

New Zenner

Join Date:
Nov 2008
Posts:
7
Plugin Contributions:
0

Re: Facebook Fan Sidebox - remove the border?

I've just installed this and followed the KerrinHardy route to installing it, now I have 4 people liking it on the page and 5 poeple liking it on the site !?! One of the followers is always repeated but its random as to which one it will be.

I'm using 1.3.9h

Any Ideas ?

Jayce

8 Mar 2011, 9:38 PM
#13
oqix avatar

oqix

New Zenner

Join Date:
Sep 2009
Posts:
7
Plugin Contributions:
0

Re: Facebook Fan Sidebox - remove the border?

Hi,
I have little problem with white border too. My second problem is space between main sidebox bodrer and facebook fan content from top and left side. Thanks for any help.
My site: http://www.vippo.sk/

8 Mar 2011, 9:48 PM
#14
kdays avatar

kdays

Zen Follower

Join Date:
May 2008
Posts:
239
Plugin Contributions:
0

Re: Facebook Fan Sidebox - remove the border?

oqix, to remove the spacing from just the Facebook Like Box sidebox, add this to your stylesheet:

#fanboxsideboxContent {
padding: 0;
margin: 0;
}

I think you will be stuck with the white border as Facebook haven't provided tools for us to style the Like Box. I know you have a dark theme, but what does the Light Like Box look like?

Cheers
Kerrin

8 Mar 2011, 10:21 PM
#15
oqix avatar

oqix

New Zenner

Join Date:
Sep 2009
Posts:
7
Plugin Contributions:
0

Re: Facebook Fan Sidebox - remove the border?

Thanks kdays for quick reply and fix for spacing problem it's working.
Just trying light box but text of this box is too dark. I think I can live with white border :smile:.