71Visuals95 Posted November 24, 2021 Share Posted November 24, 2021 Site URL: https://www.nauti-bar.com/ I've injected the HTML code provided by Facebook to display comments on my page. I have data-width="100%", however the mobile version is not displaying the width at 100%. Does anyone know of a way to fix this problem? I've included my code below: <div class="fb-comments" data-href="https://www.nauti-bar.com" data-width="100%" data-numposts="5" data-order-by="reverse_time"></div> Link to comment
Beyondspace Posted November 25, 2021 Share Posted November 25, 2021 (edited) 20 hours ago, 71Visuals95 said: Site URL: https://www.nauti-bar.com/ I've injected the HTML code provided by Facebook to display comments on my page. I have data-width="100%", however the mobile version is not displaying the width at 100%. Does anyone know of a way to fix this problem? I've included my code below: <div class="fb-comments" data-href="https://www.nauti-bar.com" data-width="100%" data-numposts="5" data-order-by="reverse_time"></div> It looks like your issue has been solved. Is it ok at the moment? Edited November 25, 2021 by bangank36 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
VirgoAquarius Posted March 9, 2022 Share Posted March 9, 2022 How did you fix this issue? Link to comment
tuanphan Posted March 13, 2022 Share Posted March 13, 2022 On 3/9/2022 at 8:20 PM, VirgoAquarius said: How did you fix this issue? Can you share link to page where you have problem? We can take a look Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
fausy9 Posted May 1, 2023 Share Posted May 1, 2023 (edited) This worked for me .fb_iframe_widget, .fb_iframe_widget > span, .fb_iframe_widget iframe { width: 100% !important; } Edited May 1, 2023 by fausy9 Link to comment
jmerrill Posted May 3 Share Posted May 3 Anyone found a solution to this? Facebook comments looks fine on desktop but tablet and mobile have a bunch of white space on the right. URL: https://artdomain.co/articles/the-curious-case-of-gustav-klimts-enigmatic-portrait-of-a-lady This is the code I added to the Post Blog Item Code Injection space: <div class="fb-comments" data-href="https://artdomain.co/blog{website.baseUrl}{permalink}" data-width="100%" data-numposts="5"></div> Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment