Search code examples
cssnavbarfixeddropdown

Drop down menu with fixed navbar


I have fixed navigation in my site, but when i scroll down page mouse hover, drop down open but with a gap and as soon as i put mouse hover on it, that drop down go top around 10px. Can any one solve my issue please? my link is

http://blackrovermedia.com/demo/


Solution

  • Here's a screenshot of the modifications I did : http://prntscr.com/er46v9

    Basically, when you hover the link the sub-UL has a top of 52px but you forgot to remove (to those 52px) the paddingTop of 11px of the A itself therefore there's a gap ;) !