Sign in

Embed a Google form into Publii page without shrinking the form

#3829
[anonymous]

Hi,

You will need to set the height of the Google form iframe in the custom CSS Publii option, and also add a custom class to its container (will prevent aplying style to all site iframes)

Something like this should help you as starting point:

.post__iframe.myCustomClass > iframe {    
    position: relative;    
}

.post__iframe.myCustomClass{ 
  height:1600px;
}

Also you may need to play a little with media queries, Iframe height will change depends on screen sizes.

PS: sorry for my english 😉