Topic: White action buttons lost their styling after an upgrade
bluefox_dev
asked 4 weeks ago
Our application upgraded from an older MDB theme. Buttons using a white variant now look unstyled, while primary buttons still work.
What is the supported replacement?
Arkadiusz Idzikowski
staff answered 3 weeks ago
Start by trying the documented btn-light or btn-dark variants if a neutral appearance is sufficient. Also check whether btn-white or btn-black has a matching rule in your compiled stylesheet; a class name without a rule cannot supply the expected colors.
If you need an exact white design, create an application owned variant and define its text, border, hover, focus, and disabled states together. Please share the button markup and required colors if you would like help translating that specific appearance into theme rules.
https://mdbootstrap.com/docs/angular/components/buttons/
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: MDB5 9.1.0
- Device: Desktop
- Browser: Edge
- OS: macOS
- Provided sample code: No
- Provided link: No