How can I make the Facebook Like button's width automatically resize?

后端 未结 8 1097
清酒与你
清酒与你 2020-12-13 13:53

I\'m implementing the Facebook Like Button, but I\'m running into some trouble with the width. I\'m using the JavaScript SDK implementation, not the direct iframe.

A

8条回答
  •  感情败类
    2020-12-13 14:40

    I had to face this same problem with the add-this plugin and solved in a similar way:

    .addthis_button_facebook_like,
    .addthis_button_facebook_like span,
    .addthis_button_facebook_like span iframe {
        max-width: 450px !important;
    }
    

提交回复
热议问题