Sign in
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

Avatar photo[anonymous]


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;    


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

PS: sorry for my english 😉