WordPress.org

Forums

Odd header (3 posts)

  1. pagettypol
    Member
    Posted 8 years ago #

    I've just upgraded to the latest version of wordpress and after reuploading my style.css for the default theme, i've now got an odd effect of the blue kubrick box appearing under hte image and hanging outside of it (this is in internet explorer)

    In firefox, you cant even see the header image, its just a blue box.

    Any idea whats going on - site is at http://www.blueslims.com

  2. Doodlebee
    Member
    Posted 8 years ago #

    I'm thinking it has to do with this section:

    <style type='text/css'>
    <!--#headerimg h1 a, #headerimg h1 a:visited, #headerimg .description { color: white; }
    #headerimg { display: none }
    --></style>

    That's no how you comment out stuff between style tags. That's how you comment out HTML. Between style tags, it should be /* stuff here */

    So, are you trying to make your header stuff invisible or not? If you are, it shoudl ook like this:

    <!--<style type='text/css'>
    #headerimg h1 a, #headerimg h1 a:visited, #headerimg .description { color: white; }
    #headerimg { display: none }
    </style>-->

    if you're not, then putting those comment lines in there is screwing things up. It should look like this:

    <style type='text/css'>
    #headerimg h1 a, #headerimg h1 a:visited, #headerimg .description { color: white; }
    #headerimg { display: none }
    </style>

    of course, #headerimg {display:none;} will make your header image div disappear.

    maybe this is part of the problem?

  3. pagettypol
    Member
    Posted 8 years ago #

    That doesnt seem to be it, all i've done is taken the default theme and changed the kubrickheader.jpg file to our header banner. its exactly the same code as before i upgraded the installation.

Topic Closed

This topic has been closed to new replies.

About this Topic