MDB Pro css color primary


Topic: MDB Pro css color primary

LAGIER pro premium priority asked 5 years ago

btn-primary (blue)

btn-primary (red)

**Hello, I am facing a color problem with the CSS of the * Version: MDB PRO all versions

In the Pro version, with mdb.css.min or mdb.css, I use btn-primary, but instead of being blue BTN-Primary is RED - # ff4a67? , while in the Magazine Templates Version, the color for btn-primary is blue.

I have not changed the MDB Pro css code.

I use MDB Pro to operate the Bootstrap SideNav bar.

Is it an error that btn-primary is red in MDB-Pro and not in MDB Magazine?

Here is the MDB Pro code snippet for btn-primary.

Thanks for your help.

Good day to you.**

Extract from part of the MDB Pro code for mdb.min.css:

.light-blue-skin .btn-primary { color: #fff; background-color: #ff4a67 !important }

.light-blue-skin .btn-primary:hover { color: #fff; background-color: #ff647c }


Marta Szymanska staff pro premium answered 5 years ago

Hi,

this happens because you use the skin, specifically the .light-blue-skin class, which in its properties changes the colors of the buttons, including the .btn-primary class. Each skin changes all the colors from the default to others, created specifically for the skin.

Best, Marta


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.13.0
  • Device: mdb.min.css
  • Browser: All
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No