VinceG / twitter-bootstrap-wizard

This twitter bootstrap plugin builds a wizard out of a formatter tabbable structure. It allows to build a wizard functionality using buttons to go through the different wizard steps and using events allows to hook into each step individually.
MIT License
1.39k stars 676 forks source link

Styling the Next Previous Buttons #197

Closed picasso566 closed 8 years ago

picasso566 commented 8 years ago

I would like the next/previous to use the btn-primary class instead of the btn-default class.

I have tried styling the next/previous buttons. I have tried using custom buttons as per http://vadimg.com/twitter-bootstrap-wizard-example/examples/basic-custombuttons.html

But no matter what I do the code changes the styles. If I add the btn-primary class to the buttons I end up with two btn-default buttons and two floating blue boxes in the center.

Without changing the code for this control, is there a property for the button classes?

picasso566 commented 8 years ago

I started looking through the code and I see nothing that should overwrite the styles on the buttons. All I see is that hidden/disabled classes get toggled.

Ah, I was using links instead of buttons.