Why is my Facebook Comments widget box width not expanding?

  • CrispCuts
    Asked on February 9, 2021 at 2:53 PM

    The default box width is 550 and when i double it on other forms it expands on my mobile... but when I double it on this form it doesn't expand at all on my mobile.

    I have an iPhone 7 on the latest iOS



    Jotform Thread 2886430 Screenshot
  • Jovanne JotForm Support
    Replied on February 9, 2021 at 8:31 PM

    Hi,

    I have checked your form on iphone7 on the latest iOS and the Facebook Comments widget seems to be displaying fine on my end.

    1612920618 6023372a685cb 9 Screenshot 10

    Could you please try clearing your form browser cache and see if that can help?

    Please give it a try and let us know how it goes.

  • CrispCuts
    Replied on February 10, 2021 at 1:52 PM

    I just tried what you asked again. No, it's still displaying as shown in my previous screenshot.

  • Jovanne JotForm Support
    Replied on February 10, 2021 at 4:43 PM

    Hi,

    It seems that the issue is only present when using the Safari mobile browser. Unfortunately, we can't insert a custom CSS code into the Facebook comment widget to fix the issue.

    I will be conducting more tests and will let you know if I can come up with a possible workaround.

    Thank you.

  • Jovanne JotForm Support
    Replied on February 10, 2021 at 5:03 PM

    Hi,

    Please try adding this custom CSS code:

    Guide: https://www.jotform.com/help/117-how-to-inject-custom-css-codes

    @media screen and (max-width: 480px){
      .facebook-comments-widget {
        min-height:263px !important;
        
      }
    .fb_iframe_widget_fluid_desktop iframe{
      min-width:350px !important;
    }
    }


    Here's a sample output using iPhone 7 Safari browser:

    1612994570 6024580ab6ab4 14 Screenshot 10

    Please give it a try and let us know how it goes.