Did you name your custom header the same as the original theme header? If so it should overwrite the existing file and appear in it’s place
Thanks for the response, Lisa.
Yes, I did – but I’ll double check it.
What I see is that the css file has this url for the header background image: http://dailyniches.net/wp-content/themes/company-website-001/header.jpg
Why dont you check if your image is in the correct place. If you pasted the image into the folder image inside your theme folder, change the css file and put the url rightly. Or paste the image into the theme folder, one level up from where is now.
I saw how to solve it….
Look into your css file (/wp-content/themes/company-website-001/style.css) “#header” then change the background property from
"background: url(http://dailyniches.net/wp-content/themes/company-website-001/header.jpg) no-repeat 50% 0%;"
to
"background: url(http://dailyniches.net/wp-content/themes/company-website-001/img/header.jpg) no-repeat 50% 0%;"
The image url was wrong.
My customized header is named the same as the original theme header, and has overwrote and replaced it in the theme image folder on my cpanel.
However, I can’t get the customized header to replace the original theme header on the theme page itself – and no amount of refreshing the page or clearing the internet cache helps.
Can someone help me with how to rectify this, please.
Thanks!!!!
Hello
It looks like the original header wasn’t in the images folder…
if you right click on your website in the location of where the header should be and click “view image” you get this page not found error…
Not Found
The requested URL /wp-content/themes/company-website-001/header.jpg was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
so it looks like you need to upload your custom header to the root directory of your theme as opposed to the image folder
Did you see what i posted? :S
Check the permissions of the file
Thank you ladies for all of your helpful advice!
I was away from the computer, so haven’t had a chance to apply the changes yet. I’ll take care of it right now – and then let you know how it works.
Rob
Hi Nerdanita,
Forgive my ignorance but I’m not very good with html code, and I looked everywhere for the following code “background: url(http://dailyniches.net/wp-content/themes/company-website-001/header.jpg) no-repeat 50% 0%;” , but could not find it.
Rob
Check the style.css file
“Look into your css file (/wp-content/themes/company-website-001/style.css)”
There is the code that you should change. Good luck!
Thank you both very much!
My theme header has been replaced by my customized header now – your help was really appreciated.
Rob