Support ForumSubmenu items overflow the viewport – Support Forum https://support.ishyoboy.com/forums/topic/submenu-items-overflow-the-viewport/feed/ Sun, 05 May 2024 21:20:47 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/submenu-items-overflow-the-viewport/#post-624 <![CDATA[Submenu items overflow the viewport]]> https://support.ishyoboy.com/forums/topic/submenu-items-overflow-the-viewport/#post-624 Fri, 13 Sep 2013 10:20:47 +0000 De Jongens van de TU Hi,

In our client’s menu we have several submenu’s under the main menu.
The submenu’s on the far right of the main menu are that long, that they fall behind the edge of the browser.
See: https://d.pr/i/gjWp
I vaguely remember seeing menu items being positioned to the left of the drop-down menu when they overflow the viewport. Isn’t this part of the Minicorp theme?
Is there a ready-to-go fix for this?

Thanks in advance,

Jelmer

]]>
https://support.ishyoboy.com/forums/topic/submenu-items-overflow-the-viewport/#post-636 <![CDATA[Reply To: Submenu items overflow the viewport]]> https://support.ishyoboy.com/forums/topic/submenu-items-overflow-the-viewport/#post-636 Mon, 16 Sep 2013 07:15:28 +0000 IshYoBoy Hi,

Please open the file “wp-content\themes\minicorp\assets\html\core\libs\js\plugins.js” and replace the code on line 53:

With the code below:

This should detect if the sub-menu overflows the screen width and move it to the left. Please clear your browser’s cache after applying the change and let us know if it fixed the problem.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/submenu-items-overflow-the-viewport/#post-651 <![CDATA[Reply To: Submenu items overflow the viewport]]> https://support.ishyoboy.com/forums/topic/submenu-items-overflow-the-viewport/#post-651 Mon, 16 Sep 2013 08:18:14 +0000 De Jongens van de TU Hi,

I tried your code and it works!
Thank you.
I would recommend placing it in future updates to the theme so that I don’t overwrite it again with old code.

Best regards,

Jelmer

]]>
https://support.ishyoboy.com/forums/topic/submenu-items-overflow-the-viewport/#post-657 <![CDATA[Reply To: Submenu items overflow the viewport]]> https://support.ishyoboy.com/forums/topic/submenu-items-overflow-the-viewport/#post-657 Mon, 16 Sep 2013 08:28:40 +0000 IshYoBoy Hey,

This is our plan :) Just need to do a little more test. But the chances are 98% :)

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>