Hi there @houba_houbi,
When editing your form and selecting individual blocks, there will be a Block-level option in the Styles tab to Inherit styles from your theme:

Link to image: https://d.pr/i/auBpOm
Please try enabling that option for all the blocks where you want styling to copy your theme.
As for the classes, when selecting a block, there will be an “Additional CSS class(es)” option as shown below. As you’ve seen though, that applies to the entire selected block. There’s currently no other built-in alternative way to add CSS classes to elements in the editor

Link to image: https://d.pr/i/N2YzoA
Hello
Thanks for your answer
1/ Yes I have already activated the option “inherit styles from theme”
2/ What a pity the class are generaly on the input or button element too not only on the block
So I have no choice to duplicate css from my theme and adapt for the mailpoet form ?
Is there another way to create the form without the wp-block and add my custom css ?
Thanks
Hi there @houba_houbi,
There’s no other built-in way in MailPoet itself to create your forms, aside from the block editor. One alternative would be to create your own custom forms, and then you would need to integrate them with MailPoet using the API here:
https://github.com/mailpoet/mailpoet/tree/trunk/doc
Otherwise you’d need to adapt your custom CSS to make it apply to the output HTML of the blocks in the MailPoet form.
Hello
Thanks for your reply. Perhaps it can be done in a feature request 😉
And Have you test the bug I detailed.
Erase all the custom css in the tab “form”, save, exit and return. The css will come back !
Hi there @houba_houbi,
Certainly! Any feature requests can be added to our board here:
https://mailpoet.canny.io/
Thank you!
ok I will see that.
I can’t arrive to do the same effect in hover submit button like in my theme.
Could you help me?
Thanks