Forums

Default theme - how do I get rid of the blue flash? (8 posts)

  1. OM2
    Member
    Posted 2 years ago #

    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

  2. kz
    Member
    Posted 2 years ago #

    In functions.php, comment out this:
    add_action('wp_head', 'kubrick_head');

  3. OM2
    Member
    Posted 2 years ago #

    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

  4. OM2
    Member
    Posted 2 years ago #

    ok... tried that: removed that line
    no effect
    still there :(
    any other ideas?

  5. kz
    Member
    Posted 2 years ago #

    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;
    }
  6. OM2
    Member
    Posted 2 years ago #

    "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

  7. OM2
    Member
    Posted 2 years ago #

    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...

  8. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic