WordPress.org

Ready to get started?Download WordPress

Forums

Header Being Block by Color Blob! (6 posts)

  1. lindsayb63
    Member
    Posted 6 years ago #

    Hello,

    I am trying to replace the kubrickheader.jpg file with my own header image. However, this was the result - http://fairportrugby.net/

    I can't figure out how to get rid of the color blob!

    Thank you,
    Lindsay

  2. Jo Hawke
    Member
    Posted 6 years ago #

    Hi. That "blob" of red is part of your header image. I suggest you go back to the original image and check it again. I hope that helps.

  3. lindsayb63
    Member
    Posted 6 years ago #

    It's not part of the image - it's some sort of code from the default header that it's picking up!

  4. CognitiveCombine
    Member
    Posted 6 years ago #

    Kubrick uses a function to colorize the header.

    Open functions.php and delete everything bellow this part:

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebar(array(
            'before_widget' => '<li id="%1$s" class="widget %2$s">',
            'after_widget' => '',
            'before_title' => '<h2 class="widgettitle">',
            'after_title' => '</h2>',
        ));

    Remember to make backups first.

  5. Kalessin
    Member
    Posted 6 years ago #

    Yes, the Kubrick theme adds extra CSS to the header to allow users to set a custom gradient -- as you have apparently done.

    If you look in wp-content/themes/default/functions.php and comment out line 28 (add_action('wp_head', 'kubrick_head');), I imagine that will stop it.

    NB: I haven't tested this (although I expect it to work), so try it at your own risk and make a backup or something first!

  6. Jo Hawke
    Member
    Posted 6 years ago #

    Sorry. :( I saw the image itself, and the "blob" was there.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags