• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Changing background color

dutchbb

Well-known member
#1
I'm trying to change the background color of the following div:

Code:
<div class="mediaControls secondaryContent">
I tried

Code:
.mediaControls .secondaryContent {background-color:#f5f5ff !important}
with no success. Is this hardcoded or am I missing something?

Schermafbeelding-2015-01-17-om-10.20.13.png
Also how to change the color of the icons.
 

Steve F

Well-known member
#2
When using the selectors of the same class you need to remove the space between them.

Code:
.mediaControls.secondaryContent {background-color:#f5f5ff !important}
Also this would be more specific and shouldn't require !important.

Code:
.mediaContainer .mediaControls