Addy Posted July 11, 2018 Share Posted July 11, 2018 Hey guys, I am trying to customize my website theme (wordpress) in the header section was an image by default, I deleted the image so the header section became empty blank, I would like to fill in this blank section by a color using css code, kindly help how to do this, thanks in advance! regards Link to comment Share on other sites More sharing options...
niche Posted July 14, 2018 Share Posted July 14, 2018 https://www.w3schools.com/cssref/pr_background-color.asp Link to comment Share on other sites More sharing options...
webtrickshome Posted July 24, 2018 Share Posted July 24, 2018 Generally, the header section is wrapped inside a html tag named <header></header>. If it's the parent div use it in your css file as header{ background: your-color; } If the header tag is wrapped inside some div then find the top level div and use it's id or class name to add the same. .divname or #idname{ background: your-color; } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now