Topic-icon JFBCFan

Active Subscriptions:

None
13 years 5 months ago #29438 by micpar
JFBCFan was created by micpar
Hi,
I'm having trouble getting the JFBCFan box to accept width in percentage, it always appears to use pixel settings. Is this possible? The box is too large on mobile devices.
The topic has been locked.
Support Specialist
13 years 5 months ago #29463 by alzander
Replied by alzander on topic JFBCFan
Michael,
Unfortunately, you can't use a percentage value in the width column. Facebook (not JFBConnect) won't allow it in the parameters.

However, what you can try that should work is add the following to your CSS file for your mobile site (or possible the general template for both):
.jfbcfan iframe, .jfbcfan span {
width: 50% !important;
}
You can also try setting the value in px as well for just the mobile site. Whatever works best for your needs.

Let us know how that goes. We'd love to have your feedback as we may include a 'real' width option in the future to try to allow more control for mobile environments as that's obviously pretty important nowadays.

Thanks,
Alex
The topic has been locked.