Topic-icon How does FB Canvas resize my website

Active Subscriptions:

None
12 years 5 months ago #16016 by chrlin
Hi,

I am using RT's template demo.rockettheme.com/feb11/ and was wondering whether will this work with FB Canvas Page as the width is bigger than 780px.

Will FB auto re-size it or do I need to code it myself to fit it into the canvas page?

Please advise!

Thanks.
The topic has been locked.
Support Specialist
12 years 5 months ago #16018 by alzander
Christian,
JFBConnect will attempt to resize the page automatically. This is a very dumb attempt where we basically force the body tag to 780px (for Canvas) or 520px (for Page Tabs). In most templates, this works reasonably well, but it's not always perfect.

Alternatively, you can disable JFBConnect's resizing which should then simply add scrollbars to the 'frame' of your page when viewed within Facebook. Not always ideal, but can definitely work just fine.

In the event that you don't like either of the above, you can copy your current template and make some modifications to it, or use a simpler template altogether. JFBConnect let's you select the template that you want to use when displayed within Facebook and then you can tweak it for that environment however you want.

Hope that all helps,
Alex
The topic has been locked.