Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Removal request for Submit inputs' btn-primary css class

See original GitHub issue

I 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:closed
  • Created 11 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

maraujopcommented, Mar 24, 2013

Hi @kirpit ,

You currently have Button and StrictButton

Which 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

maur1thcommented, Dec 3, 2014

@ashwoods I agree. I had to fix this with jquery. That’s messy.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found