David Zernik
David Zernik

Reputation: 41

Cannot override jwplayer css styles for chromecast icon

I want to style the chromecast icon in the JWPlayer skin to be a certain color, in the inspector, I can see the styles I need to override are: --connected-color and disconnected-color.

However, neither in the css nor through jquery can I override these colors. Any ideas?

Upvotes: 0

Views: 242

Answers (2)

Leigh F
Leigh F

Reputation: 146

If you're using a CSS preprocessor, like SASS or SCSS, make sure your linters are up-to-date! Sometimes this can prevent the CSS from compiling correctly.

Upvotes: 0

August
August

Reputation: 2113

Not sure if those are classes or not, looks they are attributes so use attributes selectors:

[--connected-color] {
    // your css values here
}

[disconnected-color] {
    // your css values here
}

Or maybe you can find what you need in the docs :D

Upvotes: 1

Related Questions