SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having a global navigation menu and sub menu under that.

The problem is this drop down sub menu is hidden when a dashboard web part comes in page. That is the bottom part of the sub menu goes to back side of the web part. I just need it to be visible and always on top of any item in the page.

Any solution?

share|improve this question

Most likely you can solve this "error" with a correct styling in your CSS-file. Hit F12 and highlight the element blocking your drop-down and set height, width, float and overflow attributes to correct values.

But my first test would be to add display: block; to the element blocking the drop-down and see what effect you get from that action.

A final tip: customizing CSS is hard in SharePoint and you might have to use !important as an extra attribute to every style change you try to accomplish. But that applies only when you already have a solution full of important statements. In all other cases, important should be avoided.

share|improve this answer
Never use !important!! It will get you in the end. You need to just get good at selectors. – Marc D Anderson Dec 30 '12 at 14:11
@MarcDAnderson That's true. I forgot myself and was refering to our custom code where !important is user too often in the older solutions. I'll revise the answer accordingly. – Benny Skogberg Dec 30 '12 at 16:57
@MarcDAnderson I strongly agree with Marc here – Geek Dec 31 '12 at 2:13
There are a few places where Microsoft uses !important (horrible) so you can only beat that with !important. That should really be the only excuse. – Marc D Anderson Dec 31 '12 at 14:24

for SP 2013, just do ul.dynamic{z-index: 100 !important;}

It works amazingly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.