WordPress.org

Support

Support » Themes and Templates » Adding Image to Template Header?

Adding Image to Template Header?

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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 🙂

    podz – Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Image to Template Header?’ is closed to new replies.
Skip to toolbar