WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] style.css problem (4 posts)

  1. kellyputty
    Member
    Posted 7 years ago #

    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/

  2. Marcel Brinkkemper
    Member
    Posted 7 years ago #

    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.

  3. kellyputty
    Member
    Posted 7 years ago #

    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.

  4. vanitybaskets
    Member
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic