WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Place banner ad in twenty eleven header? (3 posts)

  1. triangletactical
    Member
    Posted 2 years ago #

    Hey Everybody,

    I'm trying to place a banner ad on top of my header image (approx 500x60 banner in the lower right hand corner) I spent a couple hours searching around last night, and the closest I was able to get was adding the banner above, or below the header image, not on top.

    I made an awesome high quality illustration of what I would like to do here:
    http://i69.photobucket.com/albums/i41/FlatFender_2006/preferredadplacement.png

    Oh, I'm also running twenty eleven through a child theme, and I'm pretty new to code and all that, but I'm learning....

    Thanks for any help!

  2. adpawl
    Member
    Posted 2 years ago #

    in header.php file, before 102? line
    <?php endif; // end check for removed header image ?>
    put something like that
    <div id="mybanner">your banner code</div>
    and in your css file

    #mybanner { width:500px; height:60px; position:absolute; bottom:20px; right:20px; z-index:999; }
  3. triangletactical
    Member
    Posted 2 years ago #

    You are awesome! I tried something similar last night, but I think I was placing the div box in the wrong place or something. Thanks for the help!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.