Title: Remove customizer section from parent theme
Last modified: August 31, 2016

---

# Remove customizer section from parent theme

 *  Resolved [echapp](https://wordpress.org/support/users/echapp/)
 * (@echapp)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove-customizer-section-from-parent-theme/)
 * Hi guys,
    Congrats for Zerif! It’s an amazing theme!
 * I’m having a problem developing a zerif-lite’s child theme.
    I can’t remove some
   sections in customizer. I tried doing the same steps as other child themes of
   zerif-lite like zifer and responsive boat but it just doesn’t work, I don’t know
   why…I guess I’m missing something really obvious.
 * I just want to remove some sections, controls and settings from the parent theme.
 * This is my functions.php, and the code above doesn’t work on my child theme, 
   all i want to remove is still there
 *     ```
       add_action('customize_register', 'my_customizer');
       function my_customizer($wp_customize)
       {
           /*************  OUR FOCUS SECTION ******************/
           $wp_customize->remove_section( 'zerif_ourfocus_section');
           /* show/hide */
           $wp_customize->remove_setting( 'zerif_ourfocus_show');
           $wp_customize->remove_control( 'zerif_ourfocus_show');
           /* our focus title */
           $wp_customize->remove_setting( 'zerif_ourfocus_title');
           $wp_customize->remove_control( 'zerif_ourfocus_title');
           /* our focus subtitle */
           $wp_customize->remove_setting( 'zerif_ourfocus_subtitle');
           $wp_customize->remove_control( 'zerif_ourfocus_subtitle');
   
       }
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [echapp](https://wordpress.org/support/users/echapp/)
 * (@echapp)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove-customizer-section-from-parent-theme/#post-7132611)
 * Hi,
 * It was not working because the priority argument was not defined.
 * `add_action( 'customize_register', 'my_customizer', 11 );`
 *  [Alexandra](https://wordpress.org/support/users/alexandrastan001/)
 * (@alexandrastan001)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove-customizer-section-from-parent-theme/#post-7132712)
 * Hello,
 * Glad that you got it fixed and thank you for sharing your solution with us.
 * Best regards,
    Alexandra

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove customizer section from parent theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/zerif-lite/1.8.5.49/screenshot.
   png)
 * Zerif Lite
 * [Support Threads](https://wordpress.org/support/theme/zerif-lite/)
 * [Active Topics](https://wordpress.org/support/theme/zerif-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/zerif-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/zerif-lite/reviews/)

## Tags

 * [remove section](https://wordpress.org/support/topic-tag/remove-section/)

 * 2 replies
 * 2 participants
 * Last reply from: [Alexandra](https://wordpress.org/support/users/alexandrastan001/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/remove-customizer-section-from-parent-theme/#post-7132712)
 * Status: resolved