Topic-icon jfbcfan today decided to ignore the width value i've setup...

Active Subscriptions:

None
12 years 11 months ago - 12 years 11 months ago #33791 by kappadev
Hi

this morning i was looking my website and show that the jfbcfan was broken.
What i mean is that I've set it up with width 230 and it's ignoring it and overlaps in the main content.
Any value that i put in width hasn't got any effect at all.

Any ideas?

thanks
Last edit: 12 years 11 months ago by kappadev.
The topic has been locked.
Support Specialist
You're not the only one to have noticed this issue. 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. 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
Yes i realized this after searching for a solution... yeah i was sure it's on Facebook's end.
This means that i can't use it anymore though :-( because my left width can be only 230.
I'll try and see what i can do...

Thanks
The topic has been locked.
Support Specialist
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
Thank you very much Alex, it works.
Really appreciate your help always!!!
:cool:
The topic has been locked.
Support Specialist
Glad to help. I see your subscription expired a few months ago. We hope you'll be subscribing again the future. There's some big updates coming for JFBConnect in July!

Thanks, and best of luck,
Alex
The topic has been locked.