The MU forums have moved to WordPress.org

Theme works fine for all blogs except the main blog. (10 posts)

  1. emerinea
    Member
    Posted 14 years ago #

    I'm stumped here. Here is what I'm looking at
    http://blog.hardinnorthern.org
    and
    http://blog.hardinnorthern.org/test

    This theme works fine for all blogs except the main blog. It looks like a file path issue. The header image and the back ground image do not show up on the main site. These images are both in the css. Example: background: url(images/header.jpg)

    Any Ideas?

    Thanks,
    Andy

  2. andrea_r
    Moderator
    Posted 14 years ago #

    Looks exactly the same for me in FF 3.

  3. emerinea
    Member
    Posted 14 years ago #

    The gold header image shows up in FireFox3? I'm using FireFox 3. I test in all browsers including IE 6, 7 and 8 and http://blog.hardinnorthern.org is missing the header image http://blog.hardinnorthern.org/wp-content/themes/night_transition/images/header.jpg.

  4. delayedinsanity
    Member
    Posted 14 years ago #

    It's not showing up for me in ff3.5. Your main style sheet is set up fine, and it would work, but you have something injecting CSS into your wp_head that's probably causing the conflict. Your problem appears to be here:

    <style type='text/css'>
    <!--#header { background: url('http://blog.hardinnorthern.org/wp-content/themes/night_transition/images/header-img.php?upper=666666&lower=000000') no-repeat bottom center; }
    #headerimg h1 a, #headerimg h1 a:visited, #headerimg .description { color: #e6b910; }
    --></style>

    It's overriding your style sheet since it's in the document itself, and the script it's pointing to is returning a 500 internal server error. Find what's injecting that code, and kill it. Kill it with extreme prejudice. With a baseball bat. :)

  5. andrea_r
    Moderator
    Posted 14 years ago #

    Okay, that's weird - I'm pretty sure I saw it the first time. Second time, no go. And the main blog loads painfully slow compared to the sub.

  6. emerinea
    Member
    Posted 14 years ago #

    Do you have any tips on finding the script?

  7. emerinea
    Member
    Posted 14 years ago #

    I'm pretty sure the script is coming from the admin panel under Appearance>Header Image and Color. I'm not sure where I would remove this feature of the Admin panel. It doesn't need to be there. It's probably what's injecting the code. Suggestions appreciated.
    Thanks.

  8. emerinea
    Member
    Posted 14 years ago #

    Thanks for your help. I never would have found that injection code. I opened up the themes functions.php and removed it. It works fine now thanks again!

  9. emerinea
    Member
    Posted 14 years ago #

    How about speeding it up? andrea_r is right it does load extremely slow.

  10. delayedinsanity
    Member
    Posted 14 years ago #

    Loads pretty fast for me, but I probably had it cached from earlier today. If you're running Firefox, I would suggest the following as a good starting point: https://addons.mozilla.org/en-US/firefox/addon/5369

    I would run it for you, but for some reason it's stopped working for me in FF3.5... can't wait for FF4, hopefully they fix the memory leaks! :P

About this Topic

  • Started 14 years ago by emerinea
  • Latest reply from delayedinsanity