Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Niall Kennedy

    (@niallkennedy)

    Most Facebook social plugins do not support a 100% width. You must specify a width in whole pixels within the allowed range of the social plugin and your chosen options (e.g. button vs. box). The Comments Box social plugin has a mobile parameter to set width at 100%.

    You can override the option call with your own computed width information if available. Filter on option_facebook_like_button setting width to the $content_width of the current theme for example.

    Thread Starter Leah

    (@gezan)

    Thanks!

    If you have time, how would that translate into code for functions.php?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fluid width?’ is closed to new replies.