Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm having trouble figuring out how to properly add a setting under Navigation in the Theme Customization page in order to customize and specify a background-image to use in the navbar.. similar to the pre-existing menu option to select a background-image.

This is what I've got in my code so far:

$wp_customize->add_section( 'nav', array(
    'title' => __( 'Navigation', 'thetheme' ),
    'theme_supports' => 'menus',
    'priority' => 100,
) );
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.