todd_temple — 2013-04-16T17:07:55-04:00 — #1
The link above has a main menu navigation that includes sub menu items or dropdowns on some of the buttons. The dropdowns are covered up by the Nivo slider. Can someone tell me how to fix this? I have been toying around with z-index on what I think are the appropriate html items, but I cannot figure this one out.
Thanks in advance to anyone who can help!
ralphm — 2013-04-16T20:21:50-04:00 — #2
Try something like this:
background: rgba(0, 0, 0, 0) url(../i/gfx_bkg_header.png) repeat-x top center;
z-index: <font color='"#FF0000"'>100</font>;
The z-index need to go on the outermost container of the menu to ensure it sits above elements below that section.
todd_temple — 2013-04-16T20:59:35-04:00 — #3
I see. Your explanation helps me out. I was trying to apply the z-index to the header and the navigation items instead. Ugh. Thanks so much for continuing to show me where I have went wrong and teaching me the right way!
ralphm — 2013-04-16T21:20:39-04:00 — #4
It was more because of Internet Exploder, but I learned around here with z-index issues to head straight to the outermost element in these situations. If you have z-index: 2 on the #header-container, it seems to nullify higher z-indices on inner elements. (I'm hazy on this stuff, because I'm way too lazy to read the specs.)
system — 2014-10-08T00:05:11-04:00 — #5
This topic is now closed. New replies are no longer allowed.