Sometimes I can't change the background color of a DIV element using Chrome Dev Tools

Sometimes I can't change the background color of a DIV element using Chrome Dev Tools
0

#1

I have this website: https://bit.ly/2yzb3sh

On this website there is a DIV with id=“site”. Sometimes when the page loads correctly I can manipulate that div#site by using Google Chrome Dev Tools - I can modify div#site CSS styles and other things.

The problem is, sometimes the page does not load correctly, then I cannot modify div#site’s CSS styles - it’s simply not working even if I use !important or even by using Javascript in Chrome’s console.

Can you please tell me what is wrong? (You can try to reload the page if the page loads correctly until you get to the problem I am describing)

Thanks.


#2

U need to set position: relative to your div element