Title: CSS issue with dropdown Menu
Last modified: August 20, 2016

---

# CSS issue with dropdown Menu

 *  Resolved [mortalwombat](https://wordpress.org/support/users/mortalwombat/)
 * (@mortalwombat)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/css-issue-with-dropdown-menu/)
 * I am stuck! I am building a drop-down menu, but for some reason the menu is hiding
   behind the content below it. I have tried Z-Index on many different elements,
   but can’t seem to make it work. Here is my testing site. You can see the drop-
   down items below the Vendors link: [http://mattandjentry.com/otgb/](http://mattandjentry.com/otgb/)
 * I can set the Canvas div to z-index: -1, which puts the menu above it, but then
   you can’t click, type, navigate, etc. Can anyone help me figure out why the menu
   is hiding behind #canvas?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/css-issue-with-dropdown-menu/#post-3079097)
 * I don’t see any z-index set for the canvas div (or anywhere else in your css 
   file). ??
 *  Thread Starter [mortalwombat](https://wordpress.org/support/users/mortalwombat/)
 * (@mortalwombat)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/css-issue-with-dropdown-menu/#post-3079194)
 * I don’t currently have one set, but even when I have one set, It wasn’t helping.
   I set #canvas to 1, and then set everything in the header to 999999999999 as 
   a test, but still no go. :/
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/css-issue-with-dropdown-menu/#post-3079197)
 * Did you have a position set for the elements with a z-index — it won’t work unless
   you do — see this reference:
 * [http://www.w3schools.com/cssref/pr_pos_z-index.asp](http://www.w3schools.com/cssref/pr_pos_z-index.asp)
 *  Thread Starter [mortalwombat](https://wordpress.org/support/users/mortalwombat/)
 * (@mortalwombat)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/css-issue-with-dropdown-menu/#post-3079198)
 * OMG I AM A MORON! I knew to do that, but I had missed the position on my header
   element. Thank you so so so so so much! Now please excuse me while I go bang 
   my head on the wall for a while.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/css-issue-with-dropdown-menu/#post-3079201)
 * LOL! Don’t bang it too hard 🙂 — we’ve all been there too.
 *  Thread Starter [mortalwombat](https://wordpress.org/support/users/mortalwombat/)
 * (@mortalwombat)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/css-issue-with-dropdown-menu/#post-3079207)
 * Yeah, I usually don’t have to post on a forum for it though :p Thanks for your
   help though 🙂 Really appreciate it 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘CSS issue with dropdown Menu’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [mortalwombat](https://wordpress.org/support/users/mortalwombat/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/css-issue-with-dropdown-menu/#post-3079207)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
