Support » Fixing WordPress » How to remove header image without error ?

  • I’m a new wordpress user.

    I want to ask how to remove header image on every themes on wordpress.

    I don’t want to replace the theme image with my own. Basically i just don’t want any header image at all.

    I deleted the header image jpg file. It’s good and no more header image showing up.

    But since i deleted the header image that comes with the theme, my host cpanel error log keep showing error like xxxx.jpg not found and style.css error.

    How to make the error stop showing?

    Any css line that i need to change to make it stop?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Christine Rondeau

    (@crondeau)

    Volunteer Forum Moderator

    The changes needed will depend on which theme you are using. Can you provide a link to your site please?

    Unfortunately i can’t show you the site since i use a local hosting option plan not international to save cost so only people in my country can access it.

    So it’s different for every themes?

    I am currently using blue server theme.

    http://wordpress.org/extend/themes/blue-server

    Christine Rondeau

    (@crondeau)

    Volunteer Forum Moderator

    In the style.css, line 864, you have the following:

    #header {
    	background-image:url(images/header_bg.jpg);
    	background-repeat:no-repeat;
    	width:910px;
    	height:232px;
    	float:left;
    	}

    I would simply get rid of the background image and background repeat and replace it with a solid colour.

    To answer your question, yes all themes are different, that’s what makes it so powerful. Unique themes can be crafted to suit all sorts of design.

    Moderator Jan Dembowski

    (@jdembowski)

    Brute Squad and Volunteer Moderator

    Laughter. I was going to reply but I had to get off the train. 😉

    If you’re up to trying a child theme then follow these steps: create a new directory wp-content/themes/blue-server-child and put this style.css file there.

    /*
    Theme Name: Blue Server Child Theme
    Author: Self-Help WordPress User
    Template: blue-server
    */
    
    @import url("../blue-server/style.css");
    
    #header {
            background-image:url(new-header.jpg);
            background-repeat:no-repeat;
            width:910px;
            height:232px;
            float:left;
            }

    In that blue-server-child directory upload the new-header.jpg file that you want.

    Once that’s done visit your theme page and activate the “Blue Server Child Theme”.

    This is usually done to protect you from the possibility that original parent theme gets updated.

    In this case that may not happen because that theme has not been updated in over 2 years. If you do create a child theme, think of this as a learning exercise for using WordPress. 😉

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove header image without error ?’ is closed to new replies.