• I’ve changed the header of the default theme with a new graphic

    But, I’m still getting a flash of blue where the header is
    It flashes for half a second when the website is first loaded

    I’ve looked at the style sheet and the only thing that matches the colour is:

    a, h2 a:hover, h3 a:hover {
    color: #06c;
    text-decoration: none;
    }

    Now, I have changed the header to not display the default text, but make the whole graphic be a link to the home page

    I’m guessing that the fact that I have made it be a link is causing the problem?

    For the header I have:

    <div id=”headerimg” onclick=”window.location='<?php echo get_option(‘home’); ?>’;” style=”cursor: hand; cursor: pointer;” >

    I’ve tried adding an extra attribute for colour in the above div, but this has no effect

    Does anyone know where I’m going wrong?

    Thanks

    OM

Viewing 7 replies - 1 through 7 (of 7 total)
  • In functions.php, comment out this:
    add_action('wp_head', 'kubrick_head');

    Thread Starter OM2

    (@om2)

    ok… i’ll do that. thanks.

    what was that line supposed to do?
    i looked through all php files in the wp installation and couldn’t really make sense what it does?
    thanks

    Thread Starter OM2

    (@om2)

    ok… tried that: removed that line
    no effect
    still there 🙁
    any other ideas?

    Add below code in style.css:

    #header{
    background:none !important;
    background-color:none !important;
    }

    Then the color of both background and text is white.
    Add this in style.css to make text black.

    h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
    color:black !important;
    }

    Thread Starter OM2

    (@om2)

    “Then the color of both background and text is white.”
    but i don’t want to do this for the text
    the text part has actually been removed from the header

    currently we have:

    h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
    text-decoration: none;
    color: white;
    }

    so not sure that i necessarly want to make black – because everything else is working fine

    let me know what u think

    thanks

    Thread Starter OM2

    (@om2)

    ok, just as a test i tried this, what u suggested:

    #header{
    background:none !important;
    background-color:none !important;
    }

    this part made some sort of sense to me

    but then i saw that damn smiley!
    (i posted a question on that on another thread (http://wordpress.org/support/topic/358424?replies=6) for which u gave a solution

    weird!
    what causes this pesky smiley to appear??

    hmm…

    the smiley is just part of wp-stats it’s been there forever, for anyone using that plugin…..

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Default theme – how do I get rid of the blue flash?’ is closed to new replies.