0
Welcome Guest! Login
0 items Join Now

How can I show the menu as expanded whilst on mobile?

  • How can I show the menu as expanded whilst on mobile?

    Posted 10 years 9 months ago
    • Hi there. I have a responsive website with Gantry.

      www.atlantiscorp.com.au

      There is an issue:

      1. When my window is resized below about 600px (for mobile portrait) the menu disappears into a expandable accordian menu. How do I disable this, or get it to auto-expand without having to click the accordion button in the top left?

      I've figured out the template might need to be modified
      from:
      div class="gf-menu-toggle" style="display: block;"


      to:
      div class="gf-menu-toggle active" style="display: block;"


      The javascript file that calls the code is :

      public_html\modules\mod_roknavmenu\themes\default\js\responsive.js

      I however don't know how to change it so it automatically is set to active when you first load the page?




      Thanks.
    • Last Edit: 10 years 9 months ago by Christian .
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: How can I show the menu as expanded whilst on mobile?

    Posted 10 years 9 months ago
    • You can't as that will require both javascript and media query changes - This is considered as a customization request which falls way beyond the scope of this free support forum. You can always try to post your request in our The Marketplace forum and get (paid) support from someone that is willing to do this.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.055 seconds