Topic-icon Likebox width is ignored.

Active Subscriptions:

None
10 years 10 months ago #33784 by kiwi2b
Hi there

Just noticed my likebox width setting is being ignored. It seems to be 'reset' somehow to 292, even though I have it set in the module parameters to 240. This is happening to all my websites, 3.0, 2.5 regardless. Up to a few days ago, it was fine. Example at thepeopleschoice.org.nz/ .

What do you think? Is it a change from Facebook? Have they set a new minimum. How to fix? Help :=D

Thanks in advance!
The topic has been locked.
Support Specialist
10 years 10 months ago #33787 by alzander
Replied by alzander on topic Likebox width is ignored.
Yeah, it looks like a change on Facebook's end, and I'm not sure we can change it on ours. The JFBCFan module used to tolerate smaller widths. However, Facebook has always had a note on the widget page that the minimum size is 292px. We never enforced that because Facebook didn't. It looks now though like Facebook may be ignoring width settings that are smaller than 292px and using that value instead. You can see their documentation below and possibly test some different values and settings:
developers.facebook.com/docs/reference/plugins/like-box/

Sorry for the trouble. Hadn't noticed that they were enforcing this lately. The slimmer Fan module did have some graphical issues of text and images wrapping sometimes, and Facebook may have simply wanted a standard, good, look across any sites that use it.

I hope that helps, even if it's not really what you were looking to hear.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 10 months ago #33808 by kiwi2b
Replied by kiwi2b on topic Likebox width is ignored.
Hi there, thanks for the quick answer. I figured that was the reason.

Buuut, Joomlashack seems to have a narrow likebox, www.joomlashack.com/ , how do they manage it??

Thanks, in hope!
The topic has been locked.
Support Specialist
10 years 10 months ago #33815 by alzander
Replied by alzander on topic Likebox width is ignored.
JoomlaShack is using the iFrame version of the Like-Box which doesn't look to be affected.. yet. The iFrame version has less features than the version we're using though and not something we'd downgrade too.

With that said, it looks like if you add the following style to your template's CSS you can override the width value. This is a 'generic' CSS snippet though and will affect all JFBCFan modules. If you're using more than one instance and want different widths, you'll need to adjust this to target each one:
.jfbcfan iframe {
width: 150px !important;
}

Let me know how that goes, and good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 10 months ago #33848 by kiwi2b
Replied by kiwi2b on topic Likebox width is ignored.
Fixed with your code, perfectly! Saved a redesign, so thanks for that.
The topic has been locked.
Support Specialist
10 years 10 months ago #33850 by alzander
Replied by alzander on topic Likebox width is ignored.
Glad, as always, to help! Should you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.