• Well, helo and I am sorry if this seems to be a repeated question, but I am missing something someware.

    I want to change my header image in the default theme, and after reading just about every post on the subject and following the instructions in the header.php file, I am still not having any luck.

    Here is the code for my header.php page:

    <snip>header template code, default theme</snip>

    I am also not sure if I need to change something in the css file. Also, and excuse my inexpierience, what does ” commenting out” mean when working in the code.

    The url for the blog is https://www.makingoboereeds.com/blog/index.php

    Thank you for your help in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’ve edited the post to remove the code since all installs of WP have the default theme, everyone has access to it. In the future, if you must post long snippets of code, use something like https://pastebin.com

    From that file

    simply drop in an image called ‘personalheader.jpg’ into your /images/
    directory. Dimensions should be at least 760px x 200px. Anything above that will
    get cropped off of the image

    Thread Starter oboe

    (@oboe)

    Thank you. I am not used to posting. sorry. =)

    I have tried that and still no luck. I have cleaned the cache and done practically everything else. No luck. Can you see anything in the code that I may have missed?

    looking at your source, it appears a <style type='text/css'>
    <!--#header { background: url('https://makingoboereeds.com/blog/wp-content/themes/default/images/header-img.php?upper=330033&lower=000000') no-repeat bottom center; }
    --></style>

    appears after the original code. Delete that, and see what happens

    Also, try using the header editor under theme presentation and revert it back to the original, that may be where it’s coming from

    Thread Starter oboe

    (@oboe)

    Yeeeesss!!! Got it. Thank you !! It turned out that all I needed to do was to change the header back to the original blue image in the header and image section of the theme editor and it worked.

    I need to change my image size and placement, but the main problem seems to be solved.

    Thanks again!

    I don’t know how to start a thread in this forum, so I’ve posted here in the hope someone can help

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘header image problem’ is closed to new replies.