My site header is supposed to have featured image as header background but I can't figure out how to code that. This is the current code:
HTML
<div id="header">
/* Header contetnt */
</div>
CSS
#header { height: 270px; width: 100%; background: #ffcc00 url(/* static image url*/) no-repeat center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;
}
Can someone please help me, what code should I use?