Overflow detection issue - misaligned sub menu

More
10 years 5 months ago #35551 by kinokeo
Overflow detection is activated and working on my site, except at certain resolutions the second last menu submenu also anchors to the right side of the screen even though it doesn't need to, and is no no longer under it's parent item.

See attachment showing hover on "Commercial Products" with viewport width at 984px.

I've previously tried removing all my styling but the problem still occurs.

I tried some CSS you mentioned in another thread:
Code:
div.maximenuckh ul.maximenuck li.maximenuck.level1 {position:relative !important;}

which stops this happening but also puts all the sub-menus a bit out of alignment.

The URL is viewmywebsite.com.au and I'm running Joomla 3.5.1 and MaxiMenuCK 8.1.6

Thanks for any help with this.

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #35561 by ced1870
Hi
go in the file
viewmywebsite.com.au/modules/mod_maximen...p?monid=maximenuck96

line 48 on div#maximenuck96 ul.maximenuck li.maximenuck.level1
change the
position:static;
with
position:relative;

CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #35565 by kinokeo
Thanks. This does fix the overflow issue, but also makes all the sub-menus a bit out of alignment on all screen resolutions.

The first sub-menu is left aligned to the parent, the next sub-menu is almost centered and the last submenu is right aligned (see attached).

Do you know if there's a way to keep these all left aligned while still using the overflow detection?

Thanks

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #35569 by ced1870
"commercial products" and "about" submenus are right aligned because they go out of the menu dimensions

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #35643 by kinokeo
It seems pretty close to working perfectly. I think it is just over zealous on when it thinks a sub-menu will go out of the menu dimensions. As you can see in the attached screenshot, the sub-menu would be no where close to the edge of the menu, but CK still thinks it will and right aligns it.

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #35646 by ced1870

I think it is just over zealous

lol, that's not false :D

I can not reproduce this by my side so I would need a FTP access to check this
but I will not be able to do it before next week

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.219 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 4207 guests and no members online