How to change menu type from off-canvas to classic menu?

Multipurpose WordPress Theme Forum Support
GK User
Thu Aug 20, 2015 3:10 pm
In the documentation there seems to be 2 menu types you can define in the Theme Customizer:
classic and off-canvas menu types.
In the website we now only see the off-canvas menu type, and were not been able to change this??!!

So issue:
- We cant find the "menu types" option in the Theme Customizer, can you explain were to find this?
(and there is no documentation about it..)
- if its not possible with the 'basic Quark theme' + Theme Customizer, is there another way?
(using child theme or we read something about ''export settings' form other themes)
User avatar
Fresh Boarder

GK User
Fri Aug 21, 2015 6:32 am
Hi,
I guess it should be somewhere in Theme settings area. It was in WP 4.2
In Joomla template we also had this switcher.
--
For other questions please add new posts.
User avatar
Platinum Boarder

GK User
Fri Aug 21, 2015 8:28 am
The problem is caused by changes in latest WordPress 4.3 version (Menu section added to Customizer). Please wait for the theme update or as a temporary solution, you can edit Quark/theme-customizer.php file and change this fragment:

Code: Select all
// navigation section controls
$wp_customize->add_control(
'quark_menu_classic',
array(
'section' => 'nav',
'label' => __('Enable classic menu', 'quark'),
'description' => __('Leave this option disabled to use Off-Canvas Menu','quark'),
'type' => 'checkbox',
'priority' => 10
)
);


to:

Code: Select all
// navigation section controls
$wp_customize->add_control(
'quark_menu_classic',
array(
'section' => 'quark_features_options',
'label' => __('Enable classic menu', 'quark'),
'description' => __('Leave this option disabled to use Off-Canvas Menu','quark'),
'type' => 'checkbox',
'priority' => 10
)
);



'section' => 'nav', please change to 'section' => 'quark_features_options', and your Classic menu option will be moved to Appearance -> Customize -> Features section.
User avatar
Moderator

GK User
Wed Aug 26, 2015 8:56 am
This solved my problem too! Thanks Piotr
User avatar
Senior Boarder


cron