• Basically as you can see on http://www.kisberg.com in the header I have my logo, however, if you click to view the comments for the hello world post, the logo does not appear, any ideas how to fix this? I added the logo into index.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • In the css, look for url lines like this:
    background: url(images/header.gif

    and make them more like this:
    background: url(http://www.kisberg.com/images/header.gif

    Thread Starter nick0r

    (@nick0r)

    hi,

    I did that but the logo is called from the php, not css, it’s not a background image, it’s a front image (this code was done in index.php)

    Same principle.
    You need to use an absolute url, so no matter what is in the address bar, it will always look in the same place.
    By using a relative address, it looks for the image relative to the address bar – and because wp uses virtual folders, it doesn’t exist.

    Thread Starter nick0r

    (@nick0r)

    ahhh I get you, it works now thanks very much 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘1.2.1 header problem’ is closed to new replies.