How can I add custom class to the signup form generated by using {% form_for signup %}? The form generated contains the class "signup_form" but I need add other classed to the form. Thank you
Official response from NationBuilder Support
Hello Kamal,
The easiest way to manipulate the way elements look on your website is to override these default styles, or add to them. You can read more about how theme stylesheets work and how website templates work together for a more detailed walkthrough on making these types of changes.
Share this post
Showing 6 reactions
Sign in with
NationBuilder employee
{% form_for signup, id:“new_id”, %}
Style off of #new_id and you’re set!
gives you:
You can work around this by commenting out the form tags in your dom.
and