NileshPatel17 / ng-multiselect-dropdown

Multiple Select Dropdown Component
https://nileshpatel17.github.io/ng-multiselect-dropdown/
327 stars 287 forks source link

ng-multiselect-dropdown style #299

Open jolalas opened 3 years ago

jolalas commented 3 years ago

hello I have followed the steps to be able to change the styles, but in the end they are always blue, copied the style. moved src. put route in style but nothing, how could I change the colors, thanks

NileshPatel17 commented 3 years ago

@jolalas can you please share the codesandbox link?

milind045 commented 3 years ago

I see the same issue as @jolalas. The changed theme file just won't take effect. I'm running angular/cli 11.2.13 and ng-multiselect-dropdown v0.3.4. Any other workaround?

NileshPatel17 commented 3 years ago

@milind045 please create sample project in codesandbox and share link. here is the sample code

Fangtsailo commented 3 years ago

@jolalas @milind045 Don't forget "!important"

milind045 commented 3 years ago

@Fangtsailo you were right "!important" is important :) Issue is resolved for me! I used scss, is that why it's required?

hochun836 commented 2 years ago

I follow the custom-theme.md to create my theme (named test.scss). The following is using version

If I don't add any !important then any style will not be overrided. The reason is the output html like .class-name[_ngcontent-xxx] (see F12) image