Feeds

New Header Image Doesn't Load

PerformancingAds
Submitted by DanielthePoet on April 19, 2007 - 7:26pm in

I have replaced the header image for the nightlife theme with a .jpg image of the exact same size and name, and now all i get is a black background in the header. Can you tell me if there are any special parameters for changing the header image?

(see it at bretboteler.com)

and thanks for the help with my last question!


Hey, Bryan's on vacation

Hey, Bryan's on vacation till next Monday, but I take a crack.

The critical change in Nightlife is to be found in this section of the style.css file:

#header {
background: #333333 url(images/header.jpg);
width: 861px;
height: 180px;

You'll want to either upload a new header.jpg file or use a different file name, but specific that file name in the style.css file instead of header.jpg. Make sure that the new header image is uploaded into the images subfolder of the theme.

Also make sure that whatever header image you use has the same dimensions as is specified under #header - if you're using the default, then your image should be 861px by 180px

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <h2> <h3> <h4> <img> <div> <a> <em> <strong> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <span> <table> <td> <tr> <caption> <th> <hr> <pre> <br> <p> <object> <param> <embed> <strike>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.