Form looks unstyled or broken
Symptom
The form appears on your store, but it has no styles or looks broken: the fields have no spacing or borders, or the layout falls apart.
If the form doesn't appear at all, see Form does not appear on the page.
Checks
- Check first: the package for your theme is installed. Skip this check if your store uses Luma or Blank. If you don't know which theme your store uses, ask your developer. Go to Stores → Configuration → MageMe Extensions → WebForms. In the panel at the top, find Hyvä: WebForms Storefront or Breeze: WebForms Storefront. If the one for your theme shows Installed, this isn't the cause. A Hyvä or Breeze store needs this package to show forms with the theme's own styles and scripts.
- The store's static files were deployed after WebForms was installed or updated. WebForms brings its own styles, and the store builds them into its static files. Nothing in the admin shows this, so ask your developer. If they deployed the static files after installing or updating WebForms, this isn't the cause.
- On Hyvä: your theme's styles were rebuilt after WebForms was installed. A Hyvä theme builds its styles from the modules installed on the store. Nothing in the admin shows this, so ask your developer. If they rebuilt the theme's styles after installing or updating WebForms, this isn't the cause.
- On Luma or Breeze: the fields use the style you chose. Go to Stores → Configuration → MageMe Extensions → WebForms, expand Appearance and find Enable Modern Field Style under Modern Field Style. With No, the fields take the input style of your theme instead of the WebForms style. If that is what you chose, or the setting is Yes, this isn't the cause.
Expected result
Open the form in a private browser window. The layout no longer falls apart, and the fields look like the other forms on your store.
Fix
- If check 1 failed: ask your developer to install the WebForms package for your theme. See Installation.
- If check 2 failed: ask your developer to deploy the store's static files again, as in step 4 of Installation or step 3 of Updating WebForms.
- If check 3 failed: ask your developer to rebuild your Hyvä theme's styles.
- If check 4 failed: in Enable Modern Field Style, select Yes and click Save Config.
- Still not working: contact MageMe support with the page address, the name of your theme and a screenshot of the form.
Related
- Going-live checklist: check the theme package before customers use your forms.
- Appearance settings: every setting that changes how forms look.