Theme styles
On a block theme, OptinFlare reads theme.json: your palette, gradients, fonts and the style of your buttons and headings are offered in the editor. In Styles, Browse styles lists the style variations of your theme. The block styles of your theme, such as a paragraph style, can also be applied to the blocks of a form.
With a classic theme, even one that ships a theme.json file, the editor uses default values and you set the styles yourself.
Global styles
In Styles, set the typography, colors, background and layout of the whole form, and the default style of elements such as links, headings and buttons. Each block can then override them.
Add your own CSS
OptinFlare doesn’t store free-form CSS with a form. If you added CSS to a form in an earlier version, it is no longer applied: move it to your theme.
- Select a block, open Advanced in its settings and type a class in Additional CSS class(es).
- Add your CSS to your theme: in the Additional CSS of the Site Editor styles on a block theme, or in Appearance › Customize › Additional CSS on a classic theme.
To target a single form, start your selectors with .mp-optin-form[data-id="123"], where 123 is the form ID. Prefixed selectors don’t affect the rest of the page.