How to make Facebook comments widget a fluid width?

后端 未结 19 1527
执念已碎
执念已碎 2020-12-13 00:46

Is it possible to make Facebook\'s comments widget a fluid width? Their documentation shows a width field for the fb:comments xfbml or iframe which is specifie

19条回答
  •  青春惊慌失措
    2020-12-13 01:25

    I think this will work for everyone. Works for me Dec 26, 2013 at http://eddie11.com/dj-eddie-talks/

    #fbSEOComments, 
    #fbSEOComments span,
    #fbSEOComments div,
    #fbSEOComments iframe,
    #fbSEOComments iframe[style],
    #fbSEOComments .fb_iframe_widget,
    #fbSEOComments .fb_iframe_widget span,
    #fbSEOComments .fb_iframe_widget iframe
    {
        width: 100% !important;
    }
    

    None of the below worked for me but I left it there anyway.

    .fb-comments,
    .fb-comments *,
    .fb-comments iframe[style],
    .fb_iframe_widget,
    .fb_iframe_widget span,
    .fb_iframe_widget iframe,
    .fb_iframe_widget iframe[style],
    .fb-comments span,
    .fb-comments iframe,
    

提交回复
热议问题