Support » Fixing WordPress » How to modify the "header image"?

  • Resolved


    Hi everybody!
    I’m using Greyzed theme for my blog. It’s pretty cool!
    Now, I would like to modify the “header image”, using a personal one.
    Could you suggest how to proceed, please? I tried more and more changing both “header.php” and “header-img.php” codes, but I reached no results.
    I am ready to use a good plugin to solve the issue, if it really exists…
    Thanks a lot 😉

Viewing 15 replies - 1 through 15 (of 47 total)
  • If your theme does not have an option to name your own header image, find the file name used for the header image and replace that file with your owm image.

    Hi vtxyzzy,
    thanks for your answer 🙂
    Unfortunately Greyzed Theme has not the option that you suggested. For this reason I tried to replace the default image, modifying lots of PHP codes (in “header.php” and in “header-img.php”) but any change doesn’t work 🙁
    I’m sure it’s possible to add a personal logo or image, as you may see connecting to the following link:
    Maybe I could use a Plugin, but I didn’t find a useful one.
    I hope you, or somebody else, could help me.
    Ciao ^__^

    You should not need to modify any PHP code. Simply find the file name of the header file and replace that file with your own.

    I have already tried to replace the original file with mine, but it didn’t work.
    Look! This is a part of “header.php” that another web-friend told me to modify (with no results):

    <div id=”header” role=”banner”>
    <h1>/”><?php bloginfo(‘name’); ?></h1>
    <div class=”description”><?php bloginfo(‘description’); ?></div>

    And this is the entire “header-img.php”:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Any suggestions are welcome.



    Sucuri Wizard

    Can you please post your site so we can see what you’re trying to replace?

    Are you in fact trying to add a logo or replace the header image?

    Hi dremeda 🙂

    I’m trying to add a personal image, on the header of my blog (now it’s only a black & grey “wall”).
    My site is:





    Sucuri Wizard

    Hi, unfortunately that link does not resolve for me.

    Couldn’t you connect to it?



    Sucuri Wizard

    Nope, it does not resolve for me.

    Please forgive my misunderstanding…
    I need to refresh my english 😉
    Could you suggest a solution?



    Sucuri Wizard

    When I click the link to your site, it does not show your website.

    Are you sure the URL you posted is correct?

    Well, it’s my own site…
    I assure you that it’s correct.
    Please, try again.



    Forum Moderator

    It’s working for me using Firefox. It should be possible to add a small logo or image to the header block via CSS but positioning it could be a little more difficult.

    Esmi, I’m having a similar problem – I’m using Soho Serenity and wish to add a logo into the center of the design already there under the 2 lines of header text – I’m desperate for help.

    Senzavento, try playing with your CSS file:

    	background-image: url(images/mypicture.jpg);
    	background-repeat: no-repeat;
             background-position: left;


    Yours will be trickier because you already have a background image for a header.

    Try playing around with this in your css file – it basically lets you add a small logo as a background for your site-description area:

    .header .description
    	color: #000;
    	font-size: 1.4em;
    	margin: 0;
    	padding: 5px 0 0;
    	text-align: center;
    	font-weight: bold;
    	background-image: url(images/example.jpg);
    	background-position: center bottom;
    	background-repeat: no-repeat;
    	height: 104px;

Viewing 15 replies - 1 through 15 (of 47 total)
  • The topic ‘How to modify the "header image"?’ is closed to new replies.