Support » Plugin: Simple Facebook Connect » [Plugin: Simple Facebook Connect] How do I style/change the like button width

  • Resolved mikker

    (@mikker)


    First off, great plugin.

    Is there a way to control the style/width/output of the like button?

    When I manually insert it into my pages like this

    <?php if(function_exists('sfc_like_button')) { sfc_like_button(); } ?>

    It shows up, but it is to wide.

    Anyway to limit the width of this, so the like box is only 300px wide?

    I know I can control and install the like button via the FB dev page but I’d like to use the plugin.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42)

    sfc_like_button(array('width'=>300));

    Thank you Otto.

    And if others are wondering if you can change more things the answer is yes.

    sfc_like_button(array('width'=>300,'colorscheme'=>'dark'));

    will give you a dark like button.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Simple Facebook Connect] How do I style/change the like button width’ is closed to new replies.