Skip to main content
Answered

Embedding a new form and the desktop view is showing as mobile

  • August 29, 2024
  • 7 replies
  • 242 views

I am having trouble embedding a new form on a webpage. On my desktop it is showing the mobile view not the desktop view. You can see there is another older form above that views fine. I don’t know what to do to fix this.

 

Best answer by mathio-tf

Hello @steviey 

I see the form in your page is displayed with a width of 300px like this:

 

This is because of the parent element (div with “iconbox” class”) that has display: flex CSS. This resizes your form to smaller width. You can either change this, eg. to display: block or set an explicit width on your embed div element.

 

Hope this helps.

7 replies

Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • August 29, 2024

Hi @steviey Do you mind sharing the URL where you have the form embedded? Thanks in advance!


  • Author
  • Explorer
  • September 3, 2024

I just uploaded it. https://colbornefoodbotics.com/contact

Thanks for looking into this for me!


Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • September 4, 2024

Tagging @mathio for some help!


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • Answer
  • September 6, 2024

Hello @steviey 

I see the form in your page is displayed with a width of 300px like this:

 

This is because of the parent element (div with “iconbox” class”) that has display: flex CSS. This resizes your form to smaller width. You can either change this, eg. to display: block or set an explicit width on your embed div element.

 

Hope this helps.


Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • September 18, 2024

Hi @steviey I hope you’re doing well! Did the solution above work for you? Let us know if you have any other questions! 😀


  • Navigating the Land
  • August 7, 2026

Hello, I have the same problem and I am not sure how to make the display: block instead of flex since I am using Framer. and the form needs to be in an auto-layout container. 
By setting the height auto in the embed settings, I wanted the height of the form to hug the content. So the intro page is smaller in height and when the user clicks start it expands, like the image shows below. 
What's happening is when I embed this in framer, it's showing it Mobile width and the height is not adapting. 

 


 

I also noticed Framer is not listed under platforms
 

The other method i used is choosing “forms” > typeform from framer and inserting the ID this works in width but does not apply height auto. 


Precious_Navarro
Community Team
Forum|alt.badge.img

Hey there ​@Yara11 - Framer website builder is not yet an option added within our native embed builder options, in this case you would just select “Other” instead of selecting WordPress. Thanks for your feedback when selecting “Other” and how height is not being saved. It could be that your website builder layout functions slightly differently and you may need to tweak the layout size within the builder instead. I hope this suggestion helps!