• I am developing a new theme starting with Twenty Ten. The client wants a gap of 5 pixels or so between the parent menu item and the dropdowns. That is a simple CSS adjustment. The problem is that in the time the mouse moves over the gap, the menu goes away. Is there a parameter I can adjust to change the time it takes for the dropdown to disappear?

Viewing 2 replies - 1 through 2 (of 2 total)
  • This isn’t time-based. It relates to whether one of the upper links (or list items) has focus – either via mouse or keyboard. As soon as the focus moves outside of the relevant element, any CSS changes that are dependant upon the focus are lost.

    So you simply can’t have a 5px gap without losing the dropdowns. Your only option might be to try and fake it by using the list items for the focus with a 5px padding-bottom but applying backgrounds to just the link element.

    Thread Starter Mike Seifried

    (@mseifried)

    Thanks, esmi. I’ll try that.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Drop down timing’ is closed to new replies.