Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Header problem (https://www.warriorforum.com/programming/108021-header-problem.html)

ZachJones 27th July 2009 07:25 PM

Header problem
 
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

Havenhood 27th July 2009 08:23 PM

Re: Header problem
 
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.

ZachJones 28th July 2009 02:03 AM

Re: Header problem
 
thank you kindly, fixed the problem instantly!

Havenhood 28th July 2009 12:31 PM

Re: Header problem
 
Happy to help and glad that worked.


All times are GMT -6. The time now is 11:53 AM.