3 replies
Hey Guys,

I come bearing 0 experiance with PHP programming but im attempting to add my own custom header to my wordpress blog. I have followed these directions:
  1. Go to your stylesheet (style.css) and look for this "#header". You should see the following code:
    padding-top: 0px;
    background: #ffffff
    height: 130px;
  2. Insert this code (in bold): url('header.jpg') top center no-repeat; right after "background: #ffffff " on the same line.
  3. The new header section should look like this (The new code is highlighted in bold).:
    margin-bottom: 0px;
    margin-top: 0px;
    text-align: center;
    padding-top: 0px;
    background: #ffffff url('header.jpg') top center no-repeat;
    height: 130px;
  4. The header image that you want to use must be uploaded to the same folder as the other theme files and should be named 'header.jpg'
  5. The header image size should be 815 (width) x 130 (height) but you can easily change the height of the image.
I have done this and placed my own header.jpg in the folder as all the php documents. Unfortunately it doesnt show up on my site and instead there is just an empty space where it shoud be. Do i need to create a new folder for images as i have seen with previor themes? Any ideas would be greatly appreciated!

Thanks

Zach
#header #problem
  • Profile picture of the author Havenhood
    margin-bottom: 0px;
    margin-top: 0px;
    text-align: center;
    padding-top: 0px;
    background: #ffffff url('header.jpg') top center no-repeat;
    height: 130px;

    Those quotes you have there are ticks. I've corrected the code.
    Signature

    --= -Spazzle- =--

    {{ DiscussionBoard.errors[1023780].message }}
    • Profile picture of the author ZachJones
      thank you kindly, fixed the problem instantly!
      {{ DiscussionBoard.errors[1024486].message }}
      • Profile picture of the author Havenhood
        Happy to help and glad that worked.
        Signature

        --= -Spazzle- =--

        {{ DiscussionBoard.errors[1026076].message }}

Trending Topics