The Styles section in Formidable gives you the ability to create and customize multiple styling templates that can be applied on a form-by-form basis. Coding experience is not necessary with our easy-to-use visual styler.
Follow the steps below to set up and customize multiple form styling templates.
- Go to 'Formidable' → 'Styles'.
- A 'Default Style' template will be available automatically for use on your forms. The default settings can be modified to fit your unique needs, or you can create a new style template. If you would like to create a new style template, simply click create a new style.
You can insert the title of the new style created in the Style Name box.
- Select the colors, margins, font, and other styling options that you want and see how they look on the example form. Once you have the example form looking just right, click 'Save Style'. These settings will be applied to every form that has this style selected on the 'Manage Form Styles' tab.
- Click on Manage Form Styles and choose the styling you would like for each form.
Or, change the styling on your forms individually. Just go into your form's 'Settings' and select a Style Template.
If you need more styling options than the visual editor allows, you can add custom CSS to the Custom CSS tab or to your theme’s style.css. Styling in the Custom CSS tab will be used on every Formidable form that uses Formidable styling.
If you update your Styles, but do not see the changes you have implemented on your form, it is possible that your theme (or perhaps another plugin) has style rules that are conflicting with those you have created here. One way to address this is to check the box labeled "Override theme styling" under 'Styles' > 'Edit Styles' > 'General'
How to override your theme's style
If you find that your theme is affecting the style of your forms, then you can tell Formidable Forms to override your theme's styling. To do this, go to 'Formidable' → 'Styles' → 'General', and check the box that says Override theme styling.
Doing this will add !important to many of the lines in the Formidable Forms CSS stylesheet to prioritize your form's styling over your theme's styling.
Set a default template
After you create some new Style templates, you can set any template as your default style. The default style will be used automatically for any new form, unless the Style Template option is changed in the form's Settings.
- Go to 'Formidable' → 'Styles'.
- Select a style from the Select a style to edit dropdown and hit 'Select'.
- Check the Make default style box. This will make the selected style the new default style.
By default, a newly created form will have 'Always use default' selected for the Style Template option in the Settings. When you change the default style in your 'Formidable' → 'Styles', the new default style will apply to all forms with the 'Always use default' option selected.
Delete a style
If you would like to delete a style, first make sure it is not set as the default style. A style can only be deleted if it is not set as your default style.
- Select the style that you want to delete and click Select.
- Scroll down to the bottom of the 'Styles' page and click Delete style.
Please note that if you delete a style that is being used on a form, the styling for that form will switch to the 'Always use default' setting.
Center a form on the page
If you'd like to have your form centered on the page where it is displayed, go to 'Formidable' > 'Styles' > 'General' and select "Center form on page". Please note that this will only work if the max width of the form is less than 100%, so you may also need to change "Max Width" under the 'General' tab to 80% or lower.
Only show bottom border in field
If you would like to remove the field borders and only show the bottom border for Default, Active, Error, and Inactive states, follow the instructions below:
- Go to 'Formidable' → 'Styles' → 'Edit Styles'.
- In 'Field Settings', change the 'Corners' to 0px.
- In 'Field Colors':
- Change the 'Thickness' to 0px 0px 2px 0px for Default and Error states.
- Check the box that says Remove box shadow for Default and Active states.
- Click the Save Style button and your fields should now look like this.
Styling Placeholder Text
To change the color of the placeholder text inside a field, go to 'Formidable' → 'Styles' → 'Edit Styles' → 'Field Colors'. Look for the Read Only tab and select the color that you want from the Text selector.