noptin icon indicating copy to clipboard operation
noptin copied to clipboard

Noptin forms ignore theme styling

Open elosha opened this issue 2 years ago • 2 comments

Describe the bug The plugin by default applies own styling to its front-end forms – ignoring existing theme definitions – that cannot entirely be switched off. They have to be lavishly overridden again in the theme stylesheet.

To Reproduce Steps to reproduce the behavior:

  1. Install a theme that provides a style for the website including paragraph and form styles
  2. Install this plugin and insert the Noptin subscribe form block on a page
  3. Notice how the form is not affected by theme styling, but looks different
  4. Even if all colors in the block settings are removed, some settings can't be changed, for example H2 still has a different font size and text alignment than any other H2.

Expected behavior Inherit the theme's existing style rules for paragraphs and forms. Allow optional overrides via block settings. Don't define arbitrary colors as default. Allow cosmetic plugin styles to be switched off while keeping only a functional stylesheet (i.E. hide error messages).

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Not relevant
  • Browser: Not relevant
  • Version: Noptin v1.10.0

Additional context Add any other context about the problem here.

elosha avatar Dec 10 '22 19:12 elosha