Can I change the width of an embedded webform?
Hey everyone,
I have a quick question. I've embedded a Podio webform on my website, and I'd like to change its width. Is this possible?
If so, what CSS code should I add and where?
I've tried a lot of options, but couldn't find a solution.
Thanks!
-
Using the JS snippet embedded in a web page...
What I did that works is edit your webform at Podio, go to Configuration in right margin, under Theme, then Edit Custom CSS and I have this
div.container {
width: 100% !important;
}
form#webform.webforms {
width: 100% !important;
}
#webforms__fields-container {
max-width: 500px !important;
}and it should shrink for devices. The ID with max-width is the maximum width for desktop/laptop. This also makes it left aligned.
-
Adjusting the iframe results in the individual fields looking like they have been cut short - the right hand border of the field input box is missing (see screenshot). Is there any way to set the form field sizes so they have a max? Also currently the forms look bad on a mobile as the rest of the page (apart from the form) is responsive.
Please sign in to leave a comment.
Comments
5 comments