1

I have been struggling on changing the background color for one webpart. With the CSS below it does change the background color, blinks with the change for a quick sec, and then goes right back to the original color.

I do also want to mention I am using other CSS to change all colors, but this issue is just for the single.

<style>
    .ms-WPHeader TD[title^="Footer"] {
        background-color:yellow; 
    }
</style>
  • Have you tried using dev tools (F12 for Chrome/IE) to see what styles are affecting the web part? Also, have you tried background-color:yellow !important;? – wjervis Feb 27 '15 at 16:25
  • Hi yes I have tried both of those and still no success – Rochelle30 Feb 27 '15 at 16:37
  • Where have you placed your web part? In some publishing page or some where else? – Asad Refai Apr 27 '15 at 13:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.