I wasted quite some time already to fix this problem. I somehow have a Wordpress css file that overrides the css of my themes css. See attached image:

enter image description here

At the top is the css which screws with my design. Below is the color I would actually want within the css file of my theme. I can edit the 2nd css file, but how can I edit the other file?

Best regards


  • What is the other file? You’ve covered up the URL. May 22, 2022 at 15:49
  • Click on that filename - it should show you where the relevant code is. I suspect it may be output directly in the page HTML below where your CSS loads. You can still override it by increasing the specificity of your selectors
    – bosco
    May 22, 2022 at 16:29

1 Answer 1


Make the CSS rule of style.css win over the rule of the other file. To do so you can add the selector of a parent element of #header, or an !important after the color. These two examples would work:

body #header{background-color:#ffe600}

#header{background-color:#ffe600 !important}

Better adding the selector of a parent element, rather than adding an !important.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.