test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • mediamuis Friend
    #201889

    Hi,

    Trying to hide the main menu from J3.3.x T3-latest version, t3_bs3_blank for all displays except mobile phone.

    Made an extra profile from default profile but cannot switch off the (top horizontal) main menu?

    I do like to put the main menu in the left-sidebar and show a collapsable menu on mobile phone.

    How to start?

    Thanks in advance.

    Mark

    mediamuis Friend
    #552125

    I’ve created a new new configuration in the backend, this generated a new php-file in /templatename/local/tpls/xxxx.php

    In this file I’ve wrapped the mainnav-php-block in a div:

    <div class=”hidden-lg hidden-sm hidden-md”>
    <?php $this->loadBlock(‘mainnav’) ?>
    </div>

    Is this the right way to handle this situation?

    Thanks in advance.

    Mark

    Eragon H Friend
    #552217

    Hi Mark,

    The “main menu in the left-sidebar and show a collapsable menu on mobile phone” is Off-Canvas menu. For more information about this, you can refer to: http://t3-framework.org/documentation/menu-system.html#off-canvas

    If you want to only use the off-canvas menu in mobile, so you don’t need the MegaMenu anymore. You can comment out the line

    <?php $this->loadBlock(‘mainnav’) ?>

    Best regards

    mediamuis Friend
    #552357

    Thanks Eragon.

    Mark:)

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  mediamuis 10 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum