Support » Fixing WordPress » Place banner ad in twenty eleven header?

  • Resolved triangletactical

    (@triangletactical)


    Hey Everybody,

    I’m trying to place a banner ad on top of my header image (approx 500×60 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!

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

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Place banner ad in twenty eleven header?’ is closed to new replies.