SORU
18 Mayıs 2012, Cuma


Nasıl Kutu Gibi Facebook uyumlu kılacak?

Bir metin widget içine Facebook kodu yapıştırarak benim kutusunda kod gibi Facebook side bar kullanıyorum. Benim tema duyarlı ve doğru şekilde yeniden boyutlandırmak için kutuyu almak istiyorum. tutorial ama ne o öyle söylüyor bunu buldum, "tam yanıt" eğer öyleyse, bunu yapmanın daha iyi bir yolu olsaydı haberim yoktu. değil mi

CEVAP
23 Mayıs 2012, ÇARŞAMBA


NOT: bu cevap geçersiz. Güncel bir çözüm için the community wiki answer below bkz.


Bu Özü bugün buldum ve mükemmel çalışıyor: https://gist.github.com/2571173

(https://gist.github.com/smeranda çok teşekkürler)

/* 
Make the Facebook Like box responsive (fluid width)
https://developers.facebook.com/docs/reference/plugins/like-box/ 
*/

/* 
This element holds injected scripts inside iframes that in 
some cases may stretch layouts. So, we're just hiding it. 
*/

#fb-root {
    display: none;
}

/* To fill the container and nothing else */

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

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • FRED

    FRED

    1 EKİM 2005
  • PCDIY

    PCDIY

    16 AĞUSTOS 2013
  • Smith Micro Graphics

    Smith Micro

    15 Mayıs 2008