WebsiteBaker Support (2.12.x) > General Help & Support

Question about "sticky" option of menu within SM2 in WB

<< < (3/3)

rumen:
I confirm it work! Just note - if anyone use the template should not put more then 4 things in the menu!!! The mobile menu doesn't transform the menu from horizontal to vertical and if there are more then 4 or 5 things they go out of the page. Look here

Everything else works fine! In the video the button of the "MENU" in the mobile version doesn't change properly but that's only in the video maybe a conflict with the video recording application.

rumen:
OK I found the issue with the vertical menu in mobile version it is the additional class in the UL  here i sthe menu:


--- Code: --- <?php 
            $open = '<li class="[class]"><a href="[url]">[menu_title]</a>';
            
            echo show_menu2(
                $aMenu          = 1,
                $aStart         = SM2_ROOT+$iMultiLang, 
                $aMaxLevel      = SM2_CURR+2,
                $aOptions       = SM2_ALL,
                $aItemOpen      = $open,
                $aItemClose     = '</li>',
                $aMenuOpen      = '<ul class="menu">',
                $aMenuClose     = '</ul>',
                $aTopItemOpen   = false,
                $aTopMenuOpen   = '<ul class="vertical medium-horizontal menu" data-responsive-menu="accordion medium-dropdown" >'
            );?>
--- End code ---

Now it works perfect!

dbs:
Good job, it works.  (Y)

Navigation

[0] Message Index

[*] Previous page

Go to full version