WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] style.css problem

[Resolved] style.css problem

  • kellyputty
    Member

    @kellyputty

    I am using the default theme. I changed the kubrickheader.jpg to my logo w/ w=760 and h=110

    I went through the style.css and made the header parts all the same height and width. However all I see is blue at the top even when I comment out colors?

    Not sure why?
    http://www.eecf.org/wordpress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • hi kellyputty. The WordPress default theme uses function kubrick_head()in functions.php to set the header colors. This function overides the style.css.

    try commenting the call to <?php wp_head(); ?> in your header.php

    !better first copy your theme to another directory first because the default theme is the one WordPress falls back to when some template is not found.

    kellyputty
    Member

    @kellyputty

    in the themes function.php i commented out the following

    function kubrick_head() {
    $head = “<style type=’text/css’>\n<!–“;
    $output = ”;
    //if ( kubrick_header_image() ) {
    //$url = kubrick_header_image_url() ;
    //$output .= “#header { background: url(‘$url’) no-repeat bottom center; }\n”;
    //}
    //if ( false !== ( $color = kubrick_header_color() ) ) {
    //$output .= “#headerimg h1 a, #headerimg h1 a:visited, #headerimg .description { color: $color; }\n”;
    //}
    //if ( false !== ( $display = kubrick_header_display() ) ) {
    //$output .= “#headerimg { display: $display }\n”;
    //}
    $foot = “–></style>\n”;
    if ( ” != $output )
    echo $head . $output . $foot;
    }

    //add_action(‘wp_head’, ‘kubrick_head’);

    function kubrick_header_image() {
    //return apply_filters(‘kubrick_header_image’, get_settings(‘kubrick_header_image’));
    }

    That worked! Thanks for the insight.

    vanitybaskets
    Member

    @vanitybaskets

    Ah, this fixed it for me too!
    VanityBaskets Gift Basket Blog

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] style.css problem’ is closed to new replies.