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

Changing background color

Discussion in 'Media Gallery Support' started by dutchbb, Jan 17, 2015.

  1. dutchbb

    dutchbb Well-Known Member

    I'm trying to change the background color of the following div:

    <div class="mediaControls secondaryContent">
    I tried

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

    Also how to change the color of the icons.
  2. Steve F

    Steve F Well-Known Member

    When using the selectors of the same class you need to remove the space between them.

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

    .mediaContainer .mediaControls
    Chris D and dutchbb like this.
  3. dutchbb

    dutchbb Well-Known Member

    Ah thanks, should have known that. :oops: Any idea about the icons?
  4. Steve F

    Steve F Well-Known Member

    .mediaContainer .statsSection .statCol i {
    color: red;
    dutchbb and Chris D like this.

Share This Page