• I am having an endless research to find out something that I am sure is VERY EASY: how to put an image into my header??
    I have read the documentation and spend hours and hours to look for on so many websites, but I cant figure out a way to do it….
    I have my header empty and I simply want to put an image inside with a link to the home page
    please something help me out!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Ryan S

    (@ryan_accuwebhosting)

    The header images are stored in your themes directory. For example you want to change the header image of default theme by wordpress. Then go to wp-content/themes/default directory.. Go to Image folder and you will find the header images there.. Just change this image using https://FTP..

    Also, you could go to to the themes directory and search for a theme that allows your to upload a header through the WP admin. A search like this will bring back several.

    https://www.ads-software.com/extend/themes/search.php?q=custom-header

    just upload a new image in ur wp-content>>themes>>your theme>>images directory.
    Now look in the header components section in ur style.css file for the image link and change the image file name to ur newely added image filename.

    Thread Starter karabok

    (@karabok)

    hey thanks for your answer… I dont have image link because I did my theme from scratch! I am able to put a image as background but as I want a link on it, it cannot be background.
    is it a issue if the image I am trying to put is outside my theme folder?

    look for this piece of code in your header.php file.

    <h1>
                    <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
                </h1>
                <div class="description"><?php bloginfo('description'); ?></div>

    replace it with :

    <h1>
                    <a href="<?php echo get_option('home'); ?>/"><img src="https://yourwebsite.com/theme/image.png"></a>
                </h1>
    <div class="description"><?php bloginfo('description'); ?></div>

    so that your blog title is replaced by an image and it will still link back to your home page.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘very easy! header’s image’ is closed to new replies.