0
Welcome Guest! Login
0 items Join Now

Gantry 5: Can we have outline for mobile devices?

    • shenk's Avatar
    • shenk
    • Hero Rocketeer
    • Posts: 424
    • Thanks: 11

    Gantry 5: Can we have outline for mobile devices?

    Posted 7 years 1 week ago
    • I want to hide sidebar in mobile devices, I think the easiest way is just to give the sidebar a class "hidden-phone" - Although the responsive classes including "hidden-phone" are not mentioned in gantry 5 doc, but it seems gantry 5 has silently inherit this feature from gantry 4.

      However, I don't quite like this solution, because although the sidebar is not displaying, its contents are still getting downloaded from the server, which has an impact in the performance and causes unnecssary data for mobile devices. So is there a way for us to whip out an outline specialized for mobile devices? Or can we edit some twig or yaml files to prevent the sidebar from being rendered?
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2678
    • Web Developer

    Re: Gantry 5: Can we have outline for mobile devices?

    Posted 7 years 1 week ago
    • shenk's Avatar
    • shenk
    • Hero Rocketeer
    • Posts: 424
    • Thanks: 11

    Re: Gantry 5: Can we have outline for mobile devices?

    Posted 7 years 1 week ago
    • Sir, I am not talking about the menu, I am talking about a sidebar
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2678
    • Web Developer

    Re: Gantry 5: Can we have outline for mobile devices?

    Posted 7 years 1 week ago

Time to create page: 0.134 seconds