Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Embed a Google form into Publii page without shrinking the form

#3829
Avatar photo[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 😉