Removal request for Submit inputs' btn-primary css class
See original GitHub issueI see the class Submit(BaseInput)
applies btn btn-primary
css classes to the HTML items. This makes it impossible to have a “standard”, gray submit button.
I think people can/should add it manually if they want a “primary” button instead of the standard one.
Issue Analytics
- State:
- Created 11 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Remove submit button styling - html - Stack Overflow
This will remove all classes as well as inline styles, thus system default button style will be applied to your all submit buttons....
Read more >Buttons - Bootstrap
Use Bootstrap's custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.
Read more >gform_submit_button - Gravity Forms Documentation
This filter is executed when the form is displayed and can be used to completely change the form button tag (i.e. ).
Read more >Bootstrap Buttons - examples & tutorial
By removing button classes and replacing background-color with color you can create minimalistic, clickable icons. Show code.
Read more >Button | Foundation for Sites 6 Docs
Buttons (actions) --> <button class="submit success button">Save</button> <button ... Changing this setting will remove the .hollow class from your CSS.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @kirpit ,
You currently have
Button
andStrictButton
http://django-crispy-forms.readthedocs.org/en/latest/layouts.html#bootstrap-layout-objectsWhich don’t have any CSS classes applied by default and can be used to have simple gray buttons. Let me know if this is what you were looking for.
Cheers, Miguel
@ashwoods I agree. I had to fix this with jquery. That’s messy.