WordPress.org

Ready to get started?Download WordPress

Forums

Adding Banner Ad Above Logo (7 posts)

  1. ben107x
    Member
    Posted 3 years ago #

    Hey,

    I'm trying to install a 728x90 above my logo image on http://www.ThisSongSlaps.com. When I post the coding for the ad in the head script, it pushes the logo and navigation buttons down, but not the black navigation bar. I messed around with the coding for awhile and I can't figure it out. Any suggestions?

    Thanks!

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    the red and black stripe is part of a background image:
    /wp-content/themes/modern-style/images/background.png

    in style.css:

    body {
    	background: #fff url(images/background.png) top left repeat-x;
    }
  3. ben107x
    Member
    Posted 3 years ago #

    that's what i was thinking.. so i have to edit the background image and make the red stripe wider?

  4. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    yes

  5. ben107x
    Member
    Posted 3 years ago #

    Awesome, thank you so much! Also, if I wanted to install the banner ad in the header, do you know how to push the sidebar down so that the ad doesn't overlap it? Or to make the add appear behind the sidebar?

  6. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    if you add the ad code directly after this line: <div id="wrapper">
    the sidebar should go down automatically.

  7. ben107x
    Member
    Posted 3 years ago #

    the only place i can find that coding is in the header editor and when i paste the ad code after it, it creates the same problem i had in the beginning.

Topic Closed

This topic has been closed to new replies.

About this Topic