1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[WP Question] How can I add a banner at the top?

Discussion in 'Web Design' started by cutemohamed, Feb 13, 2012.

Tags:
  1. cutemohamed

    cutemohamed Junior Member

    Joined:
    Mar 17, 2011
    Messages:
    101
    Likes Received:
    15
    Hi,

    I want to put banners at the top and bottom of the wp blog. I can put in the sidebar only because I can add in a text widget to the sidebar.

    How can I put them on the top and bottom if my theme doesnt support that?Thanks in advance
     
  2. timothywcrane

    timothywcrane Power Member

    Joined:
    Apr 25, 2009
    Messages:
    590
    Likes Received:
    236
    Occupation:
    Internet Promotion Management
    Location:
    USA
    Home Page:
    If you would like to use an image instead of the text you have to replace the following code in header.php:
    Code:
    <div id="logo">
        <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
        <span id="blogDescription"><?php bloginfo('description'); ?></span>
    </div>
    with

    Code:
    <div id="logo">
        <a href="<?php echo get_option('home'); ?>/"><img src="link to image" alt="" title="" /></a>
    </div>