WordPress.org

Ready to get started?Download WordPress

Forums

Adding Image to Template Header? (3 posts)

  1. gad4444
    Member
    Posted 8 years ago #

    How do you ad an image to the template header area? I am using the Kubrick 'default' theme. Can I just stick some image code into the default theme's template header file? If so where does it go exactly? Do I have to delete the background header image already in there?

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Presentation > Theme editor > header template.

    Buried in there, just above </style> is this line:
    /*
    #headerimg { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
    */

    Remove the /* and */

    Then rename your image to be called 'personalheader.jpg' and upload to your theme directory. That will replace the blue blob :)

  3. gad4444
    Member
    Posted 8 years ago #

    podz - Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.