Welcome to WebmasterWorld Guest from

Forum Moderators: martinibuster

Message Too Old, No Replies

Adsense z index problem. Ads hiding dropdown navigation

Adsense ads on top of page hides navigation drop down menu

7:51 pm on Mar 19, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 20, 2003
votes: 0

I have this problem: if I put my adsense ads on top of page some 100 px below my horizontal navigation (dropdown), when you hover menu and this drops down, slides down the adsense ads. It's like adsense ads have highest z index, so my menu shows behind and even can't click those links under adsense ad.

This far I'm putting ads at bottom of page but that is not acceptable since I want my ads on top. Is there a way to workaround this?
Modifying the menu css?
Or adsense code in anyway?

1:42 am on Mar 20, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member swa66 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 7, 2003
votes: 0

As far as I remember it's against the adsense ToS to put a menu over the ads.
1:57 am on Mar 20, 2009 (gmt 0)

New User

10+ Year Member

joined:Mar 11, 2009
votes: 0

I thought so too. Due to ToS, ad placement is one more thing to worry about when building a web site menu/navigation...
4:14 am on Mar 20, 2009 (gmt 0)

Full Member

10+ Year Member

joined:Apr 18, 2003
votes: 0

Hello there. I have posted a similar thread here


Please note setting the Z index to one worked and then again displayed the menu over the ads instead of the other way around. I had the exact same problem as you. ASA is on it too.