Add Image into Header CSS
-
Hi hope someone can help!
I have added a header image into my css instead of a background colour of white (#fff).
The issue is it is working but to a point as it only shows on certain pages and not on categories or homepage. Seems very random?
Can anyone help me to narrow this down and resolve this issue.
The code I am using is contained within style.css in my theme directory.
New CSS code:
#header { width: 1050px; height: 140px; margin: 0px auto 0px auto; background: url('https://birminghamiu.co.uk/wp-content/uploads/2015/04/biu_header1.png') no-repeat !important; } .header-row { width: 1000px; margin: 0 auto 0 auto; padding: 20px 30px; }
Old CSS code:
#header { width: 1050px; height: 140px; margin: 0px auto 0px auto; background: #fff; } .header-row { width: 1000px; margin: 0 auto 0 auto; padding: 20px 30px; }
Anyones help would be great. My website where the issue is https://birminghamiu.co.uk/
Regards,
Gareth
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add Image into Header CSS’ is closed to new replies.