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

  1. triangletactical
    Posted 4 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:

    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
    Posted 4 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
    Posted 4 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


No tags yet.