Home >> Internet >> How to Make Facebook Comments System & WordPress Plugin Fluid & Auto Responsive Width?

How to Make Facebook Comments System & WordPress Plugin Fluid & Auto Responsive Width?

When I started this TND Blog with a responsive design, everything seems to work perfect except the Facebook Comments system. Even the Facebook comments works fine and shows up perfectly blended to the responsive design of the theme unless in mobile phones. In mobile devices the width of the display screen is not showing the 700 px wide comment form. So, the theme was broken and the comment form went outside the theme.

Finally I have found a solution, which will make the css of the FB Comment form into fluid, responsive and 100% of width instead of fixed 700 px. Follow these steps below:

If you are using direct code snippet from Facebook developers site for the comment form, you need to add the below codes to the theme’s main css file:

.fb-comments, .fb-comments span, .fb-comments iframe

{

width: 100% !important;

}

Or try this code:

#fbcomments, .fb-comments, .fb-comments iframe[style], .fb-comments span

{

width: 100% !important;

}

Or try this code:

.fb-comments span

{

width: 100% !important;

}

.fb-comments iframe

{

width: 100% !important;

}

This will force the width of the code to occupy 100% of the inherited div. So that the fb comment form will not go outside the theme box. Remember, this code will also works in any website using default FB comment plugin. In WordPress using Facebook Comments, you need to enter any of the above code to your domainname/wp-content/wp-theme/themename/themestyesheet.css

I am using SEO Facebook Comments plugin, since 2 years on all my websites. Apart from the free plugin, the main advantage of this SEO Facebook Comments plugin is – The user comments from FB ID, will be stored in your local database and can be visible as normal WP comments. In order to avoid double comments (FB & WordPress), there is an option, which will hide the default comments and shows only the FB Comments. Here, the positive thing for search engine optimization is – the search engines can crawl & index the hidden default comments.

To Change SEO Facebook Comment width to Auto Responsive & Fluid:

fb-seo-comment

Go to the dashboard and click on Editor under Plugins, which will open an editor window. Now select “SEO Facebook Comments” on the top right drop down list. The select /assets/fbseo-style.css and add this code entirely by removing old code:

@CHARSET “UTF-8”;

div#fbSEOComments{

margin:0 auto; width: 100% !important;

}

div#sharefbseo{

width:425px; margin:0 auto; font-size:11px

}

div#sharefbseo a

{

font-size:11px

}

If you still got the problem, then add the below code to your WordPress theme’s main css file located here – domainname/wp-content/wp-theme/themename/themestyesheet.css:

div#fbSEOComments{

margin:0 auto; width: 100% !important;

}

This will help you to resolve your issue and your theme won’t be broken in Phones & Tablets. Everything will be responsive. If you want to say thanks, follow TND – The Next Digit on FB, G+ & Twitter for timely updates.

About suzanne

Suzanne loves to cover all aspects of Technology, Online Shopping & Gadgets. She is an Ebay & Amazon seller, who provides valuable information for the successful entrepreneurship. She has also worked for the Online Media such as PC-Tablet.com and many print media - Tech Magazines in France & US.

40 comments

  1. I had to make sure I said thank you. I made countless attempts to fix this issue with other suggestions I found online, but no luck. Your method was the one that finally worked and I appreciate you sharing this information. Be blessed.

  2. Javier Ruiz Morales

    No luck

  3. No, Luck. Bt I used the same method as posted in this post and it worked for me.

  4. thank you very much, I've been driven crazy by this issue for ages, and just as crazy trying to find something that works.

    This is working for me at siamsensations.com – WP 3.9.1 Twentyfourteen theme.

  5. There not fluid here not on resize anyways ;).

  6. Ask me and I will make you extremely rich. I'll tell you a secret, and you will not have to work. You want details? – look here

    fb.me/5aTqSDil6

  7. "Make money from online surveys, click 4 surveys,
    Get PAID for participating, get paid to take survey." https://t.co/OENNUqEWUn

  8. I’ve been taking paid surveys online since 2009 and have earned over $274,000 JUST from paid surveys. I know that might seem hard to believe, but it is 100% true and verified. Large multi-billion dollar corporations need your feedback and suggestions about their products and are willing to pay huge sums of money to get it: http://fb.me/4pbZmjtyl

  9. Hi, I’ve been using a proven way of making money online in the “internet marketing niche” and I’m really pleased to announce that it has been highly profitable. Not only that, it’s also currently generating auto-pilot income for me.
    Here’s exactly what I did, and that you can copy down to a tee:
    I’ve developed a powerful marketing software to make money from the internet and created a new membership. But instead of selling them to customers, the software and training course are given away for free via a “secret web page” that I’ve created (not available from any of my official websites).
    Click here: http://fb.me/2BU3D1wCf

  10. We are lookikng for for people, who want to make up to $8000 just from home, having an internet and doing simple actions.
    All details are here>> fb.me/7Ifi41xlS

  11. I've been using Vogenesis for awhile and I've made some decent money from it. It's super easy and fun too! You earn points and redeem them for gift cards, or PayPal, which is what I do. For me as a college student, I get enough money on Vogenesis that I don't need a part time job. I'd encourage everyone to sign up!
    fb.me/7Ifi41xlS

  12. I've been using Vogenesis for awhile and I've made some decent money from it. It's super easy and fun too! You earn points and redeem them for gift cards, or PayPal, which is what I do. For me as a college student, I get enough money on Vogenesis that I don't need a part time job. I'd encourage everyone to sign up!
    fb.me/7Ifi41xlS

  13. I've been using Vogenesis for awhile and I've made some decent money from it. It's super easy and fun too! You earn points and redeem them for gift cards, or PayPal, which is what I do. For me as a college student, I get enough money on Vogenesis that I don't need a part time job. I'd encourage everyone to sign up!
    fb.me/7Ifi41xlS

  14. Heу
    Do уou use a lot of apps on уour smartphone or tablet? If уou are liкe most people уou probablу do, but did уou кnow that there is a waу уou can actuallу get paid for using the hottest new apps as soon as theу are released?
    Checк it out fb.me/5UZcZBsg6

  15. I made $813 in PayPal cash very easily last week, $955 the week before. Mainly from videos and easy tasks. My best earning site at the moment! Click Here>>> fb.me/48ZGnm93U

  16. >> fb.me/7ZY1bRgGY << is one of several online earning sites I use, but it's one of my favourites. I know for a fact that you can earn $5500 a month using the site, because I do so nearly every month.

  17. I made $797 in PayPal cash very easily last week, $895 the week before. Mainly from videos and easy tasks. My best earning site at the moment! Click Here >>>fb.me/48ZGnm93U

  18. I'm one of their freelance transcribers and so far so good – payment's been on time every month and it works out at $40-$80 an hour. click here –>fb.me/2QsU6OavG

  19. I'm one of their freelance transcribers and so far so good – payment's been on time every month and it works out at $40-$80 an hour. click here –>fb.me/2QsU6OavG

  20. Awesome game and I play it with good fun >> fb.me/181AOepuP

  21. $12,000+ Pеr Month Using оnlу stratеgy Goоgle SniРer!
    http://fb.me/15FqXfro1

  22. $12,000+ Per Мonth Using only Googlе SniРer!
    fb.me/7RB97xAna

  23. $12,000+ Pеr Моnth Using оnly strаtegу Google SniPer! fb.me/59Zgiq1Bu

  24. $12,000+ Реr Mоnth Using onlу Gооgle SniPer! Reаl peорlе making rеal mоnеy!! fb.me/2pi0d6SEI

  25. $12,000+ Реr Mоnth Using only stratеgy Goоgle SniPеr! fb.me/59Zgiq1Bu

  26. Hi,  friend!
    Here is the  link to video, I’m going to share with you how you can generate income from the internet. I know, it’s quite a big claim to make… but  you’ll see how easily it can be done at the end of this video because I’ve done it. Just click the link and you will get a ready solution  for profitable business in the Internet!
    Click  here ☼ fb.me/12gstPAl9 ☼

  27. Hello friends. I was just like you looking for an income online all day sitting in front of laptop while earning nothing.
    Once I visited this website=> http://fb.me/2TQQ2yEWz my life has changed. I started to earn more than enough. It's FREE!!!
    Now I work from home and live as always I wanted to live. I advise everyone to try.
    You can make 5000$'s+ per month! Really amazing. Good luck!

  28. I've been using Vogenesis for awhile and I've made some decent money from it. It's super easy and fun too! You earn points and redeem them for gift cards, or PayPal, which is what I do. For me as a college student, I get enough money on Vogenesis that I don't need a part time job. I'd encourage everyone to sign up!
    http://www.facebook.com/Vogenesis-287881304887580/app/190322544333196/

  29. hello
    Are you looking for easy ways to earn extra income from home? Don't waste any more time because I have done the work for you. Discover lots of simple ideas you can use right away to begin getting a second income TODAY. Best of all, it's all FREE! What are you waiting for…click the link and join me right away =>tinyurl.com/h2ljlel

  30. I make money filling out online surveys, won 300 to $ 450 a week. filling out surveys is not complicated is easy to do. the company sends you surveys, and you give your opinion.
    I let you the page here: fb.me/50QTDsJ8Q

  31. I've been using Vogenesis for awhile and I've made some decent money from it. It's super easy and fun too! You earn points and redeem them for gift cards, or PayPal, which is what I do. For me as a college student, I get enough money on Vogenesis that I don't need a part time job. I'd encourage everyone to sign up!
    http://www.facebook.com/Vogenesis-287881304887580/app/190322544333196/

  32. "I can't tell how long I have been researching 'how-to-make-money-online'. It always seemed like a scam or a dream. From time to time, I would find a small morsel of hope, maybe make a dollar or two, but nothing substantial. Then, as fate would have it, I came across this site:[https://goo.gl/Fwd1nu]….
    They not only promise to help you earn money, they show you how. And it works."

  33. Hello everyone. I have here a method of making money I make about $ 9000 a month and am very happy with it, try it and you fb.me/8iG8BBTB8

  34. Get a lot of money for the surveys it is quite real. I provide myself with money just by participating in paid surveys.
    I have managed to earn about $ 5,000. Earlier I asked the people who make money on surveys, they said they earned too little,
    but their problem is that they did not know how to do it right.
    I recommend to read more on this site fb.me/2BeQa7DIp

  35. Learn the secrets of a single dad who got out of debt and made over $3,000 per month taking paid surveys online )) Click here ->> fb.me/56jT7L1au

  36. ➡ ⬅ is one of several online earning sites I use, but it's one of my favourites. I know for a fact that you can earn $7300 a month using the site, because I do so nearly every month.

Leave a Reply

Your email address will not be published. Required fields are marked *