Changing the color of Milestones Widget

  • Unknown's avatar

    I’ve been trying to change the colour of the milestones widget. I can change pretty much every colour, except for the header box of that widget. I’m starting to run out of ideas. If anyone can help me out with this one, it would be greatly appreciated. Currently it is showing up black… and i would like it to be the green colour that the wording is

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    I think this is what you want.

    .milestone-widget .milestone-header {
    background-color: #000000;
    }
  • Unknown's avatar

    Hey

    Thanks for the reply, I’ve tried this code in a few ways, and i changed the colour and nothing seems to work :S

    I was able to change the colour of the font, even the colour of the interior box, just not the Black background of the main text. I have no idea what it could be

  • Unknown's avatar

    Ok, let’s try the “nuclear” option and add the !important attribute. Use this code instead and edit the color code as desired.

    .milestone-widget .milestone-header {
    background-color: #000000 !important;
    }
  • Unknown's avatar

    you sir, are my hero!!!!!

    This may as well be a foreign language to me!

    Thank you, thank you thank you!

  • Unknown's avatar

    You are welcome. The CSS for the styling of the milestone widget was being loaded after your custom CSS instead of before. The !important attribute tells the browsers to ignore anything loaded after and “use this.”

  • The topic ‘Changing the color of Milestones Widget’ is closed to new replies.