Menu2Panel always visible

downloaded and reinstalled
11 years 2 months ago #7 by nppsbh

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

  • Posted by TemplatePlazza (5310) Offline
Now open this file :
www.inforpedros.pt/_linkuti/modules/mod_...nel/assets/mmenu.css
find this line :
@media all and (min-width: 500px) {
	a#mmenu { display: none; }

delete this part
a#mmenu { display: none; }
11 years 2 months ago #8 by TemplatePlazza

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

I really appreciate your help, but probably i didn´t my self clear with what i need to achieve :)

I would like to use Menu2Panel always 'open' in a module position, no need to click in the icon to open it.

Example: Replace the 'Australian Park' and 'Fruit Shop' Tabs with Menu2Panel.
in here: www.inforpedros.pt/_linkuti/index.php/sample-sites

Thank you so much for your help.
11 years 2 months ago #9 by nppsbh

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

  • Posted by TemplatePlazza (5310) Offline
Hi nppsbh,
Sorry for delay in responding. Unfortunately, I have to say that it's not easy as it looks. it will need a lot of changes to the javasciprt lib :(
11 years 2 months ago #10 by TemplatePlazza

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

Hi.
Can you give me any guidance to achieve it? Because i really like the way it works.
Thanks in advance.
11 years 2 months ago #11 by nppsbh

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

  • Posted by TemplatePlazza (5310) Offline
Hi nppsbh, you can try these steps :

add this class to your <html> tag of your template (index.php)
class="mmenu-opened mmenu-left mmenu-opening"

then open this file :
[root]/modules/mod_menu2panel/tmpl/default.php at line 97 find this code :
<nav id="mmenu<?php echo $selector; ?>">

change to
<nav id="mmenu<?php echo $selector; ?>" class="mmenu mmenu-horizontal mmenu-opened">
11 years 2 months ago #12 by TemplatePlazza

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

Powered by Kunena Forum