• Greetings All!

    I hope someone out there can help me with replacing my current theme header (Company Website 001) with my own customized header.

    I’ve already uploaded the image of the customized header into the theme image folder on my domain cpanel (https://dailyniches.net)

    But that’s as far as I can get – and am totally lost as to how to actually change/replace the current header with my own header.

    Thanks in advance for any help or suggestions,
    Rob

Viewing 12 replies - 1 through 12 (of 12 total)
  • Lisa K

    (@lisa-kalandjian)

    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

    Thread Starter netlinker

    (@netlinker)

    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: https://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(https://dailyniches.net/wp-content/themes/company-website-001/header.jpg) no-repeat 50% 0%;"
    to

    "background: url(https://dailyniches.net/wp-content/themes/company-website-001/img/header.jpg) no-repeat 50% 0%;"

    The image url was wrong.

    Thread Starter netlinker

    (@netlinker)

    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!!!!

    Lisa K

    (@lisa-kalandjian)

    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

    Thread Starter netlinker

    (@netlinker)

    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

    Thread Starter netlinker

    (@netlinker)

    Hi Nerdanita,

    Forgive my ignorance but I’m not very good with html code, and I looked everywhere for the following code “background: url(https://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!

    Thread Starter netlinker

    (@netlinker)

    Thank you both very much!

    My theme header has been replaced by my customized header now – your help was really appreciated.

    Rob

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Replacing Theme Header’ is closed to new replies.