WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
[resolved] Dynamic fan box widget width (2 posts)

  1. sounddog
    Member
    Posted 1 year ago #

    Hi Otto,

    I've got a sidebar with the fan-box widget installed. By default the width is 320px on the page, however if the page resizes it would be great if the widget would resize along with it. I've tried adding the custom css however I don't know if it's that which is the problem or the iframe which is created having a set size rather than something like 'width: 100%;'

    Is it possible to achieve this using the widget?

    Thanks,
    Neil

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 1 year ago #

    The actual fan box is rendered by Facebook's Javascript code. It creates an iframe in the DOM to show the like box. You might be able to detect resize and adjust that iframe via Javascript, but how to do that is outside of SFC itself.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic