mirror of
https://github.com/gantry/gantry5.git
synced 2025-02-25 18:55:21 -06:00
Merge pull request #2538 from thexmanxyz/feature/disable-menu-mobile
Disable menu with CSS on mobile devices
This commit is contained in:
@@ -70,3 +70,9 @@ form:
|
||||
label: Force Target Attribute
|
||||
description: 'Adds ''target="_self"'' attribute to all menu items. Fixes an issue with pinned tabs in Firefox where external links always open in a new tab.'
|
||||
default: 0
|
||||
|
||||
disableMobile:
|
||||
type: input.checkbox
|
||||
label: Disable on Mobile
|
||||
description: Check this field to completely disable the menu on mobile devices. This prevents menu flickering but you might end with no menu when JS is not supported by the respective device.
|
||||
default: 0
|
||||
Reference in New Issue
Block a user