1 reply [Last post]
latempest
latempest's picture
Offline
Regular
UK
Last seen: 5 years 9 weeks ago
UK
Timezone: GMT+1
Joined: 2012-08-06
Posts: 12
Points: 22

Hello,
I have an issue with my menu on a Joomla site:

http://pucs.under-development.info/

When you hover over the menu item the sub menu is displayed, but if you scroll down (sometimes slowly) the sub menu disappears.

I'm using the latest Gantry framework.

Any ideas on why and how to fix it?

Thanks

Lee

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 hour 20 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9743
Points: 3822

li and sub ul not contiguous

There is a physical separation between the upper level li and its sub ul. This is likely an artifact of absolute positioning. As a test, I gave the sub ul a top-margin of -10px, which fixed the issue. Needing negative margins to fix a problem is a symptom of something else being wrong in the first place. Look at the top value of the sub ul when displayed.

On a side note, the lack of :focus values greatly hampers keyboard navigation. By hampers, I mean makes not doable.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.