Hello @mediafishcanarias !
Hope you’re doing well today!
It looks like the styling for the popup is overriding some of the things set by the form’s style.
Please try the following CSS:
#forminator-module-415 .forminator-ui.forminator-custom-form[data-design=flat] .forminator-input {
width: calc(100% - 20px) !important;
}
#forminator-module-415 .forminator-ui.forminator-custom-form[data-design=flat] .forminator-input-with-icon .forminator-input {
padding-left: 10px !important;
}
#forminator-module-415 .forminator-ui.forminator-custom-form[data-design=flat] .forminator-textarea {
width: calc(100% - 20px) !important;
}
You can add this code to Appearance >> Customise >> Additional CSS or any other similar place.
I’ve added #forminator-module-415 to each selector to limit the application of the CSS only to that form.
Warm regards,
Pawel
Hi,
Thanks yes that will do – well something in the selectors wasn’t right but if I only take the first and last selector such as #forminator-module-415 .forminator-textarea then it works
Thanks & have a great day!
Hi Pavel,
I just realized that we have the following problem when using your css:
The date starts underneath the icon
Please check here – just click the yellow button and add the date Date of arrival or Date of departure: Booking Request
and you will see that it is displayed below the calendar icon.
In the Forminator Form preview all forms show perfectly fine with the text next to the icon.
Let me know.
Thanks
Hi Pavel
I replaced:
#forminator-module-415 .forminator-ui.forminator-custom-form[data-design=flat] .forminator-input-with-icon .forminator-input {
padding-left: 10px !important;
}
With
#forminator-module-415 .forminator-ui.forminator-custom-form[data-design=flat] .forminator-input-with-icon .forminator-input {
width: 80% !important;
}
It works like that but not sure if there could be a better solution…
Hi @mediafishcanarias
I see the 80% looks fine, you can also try this
width: calc( 100% - 46px ) !important;
replace it instead of the 80%, it seems will fit better on a smaller screen too.
Best Regards
Patrick Frietas
Hi Pavel,
Perfect – yes that’s better.
Thanks for your great support.
Sven