How can I hide a div (which contains an image) for a specific WordPress page?
I believe my page id is 46:
Here is the div I am trying to change:
<div id="static-footer-image" style="position:absolute; bottom: -15px; z-index: 501;">
<img src="images/background-bottom.png"/>
</div>
And the associated CSS code in my main CSS file:
#static-footer-image body.page-id-46 {
display: none;
}
It is still showing. What do I do to fix this?
body
is not a child of#static-footer-image
, it should bebody.page-id-46 #static-footer-image