SwissUpLabs Logo

Use cases

Mobile navigation

By default when you click on category link it opens category page. If you want to disable it and only expand subcategories, follow these steps:

  1. Go to CMS > Static Blocks > Homepage mobile.
  2. Find the following code:

    <script type="text/javascript">
     new MobileNavigation();

    and replace it with the next code

    <script type="text/javascript">
        var mobileNav = new MobileNavigation();
        $('nav').select('.level-top').each(function(el) {
            el.observe('click', function(e) {
                if ('ul')) {
Edit this Page