<?php
$wp_customize->add_section(
   'offcanvas_options' ,
    array(
        'title' => __( 'Offcanvas Options', 'fitnote' ),
        'panel' => 'header_options_panel',
    )
);

/*Enable Offcanvas*/
$wp_customize->add_setting(
    'fitnote_options[enable_offcanvas]',
    array(
        'default'           => $fitnote_default['enable_offcanvas'],
        'sanitize_callback' => 'fitnote_sanitize_checkbox',
    )
);
$wp_customize->add_control(
    'fitnote_options[enable_offcanvas]',
    array(
        'label'    => __( 'Enable Offcanvas', 'fitnote' ),
        'section'  => 'offcanvas_options',
        'type'     => 'checkbox',
    )
);
