Sign in

Sign up

switch color class broke

MDB SupportCategory: MDB jQueryswitch color class broke
weshuiz13 Pro User asked 1 week ago in MDB pro, version:450

when trying the switch element everything seems fine the switch is nice and good untill i add a switch color class to it

for example

<!– Switch –>
<divclass=”switch mdb-color-switch”>

how ever adding this chance nothing happend the color stay’s the same no matter what or how

3 Answers
Marta Szymanska answered 6 days ago


have you added a CSS code like on the documentation page: ?



weshuiz13 Pro User answered 5 days ago

a cording to that link i have to apply switch-primairy to chance the theme from purple to the primairy color

but when i try it it does not work


if i add a color theme on a button 4 example it works fine

what is going rong?

Marta Szymanska answered 4 days ago


you need to add additional CSS to change switch color as we wrote in our documentation.