• Resolved appyla

    (@appyla)


    Hi, I want to change two things in the theme customizer. See the image below to clarify this requirement

    https://drive.google.com/open?id=1Q2EC9VvT8ja16b4TL_yzouh27mylnRKK

    1. The button in the customizer has a standard “light blue” color of WordPress. This color is used in other buttons, like (tutorial, welcome message and others). It’s there a way to change this default color to a custom one, in all WordPress?

    2. I need to remove this section (“You are customizing”), see image. I have done this before for widgets menu and active theme using the code below , however, I don’t know how to do that for that section/panel. Please help me with this.

    function mytheme_customize_app( $wp_customize ) {
    $wp_customize->remove_panel ( ‘themes’ );
    $wp_customize->remove_control( ‘active_theme’ );
    $wp_customize->remove_panel ( ‘widgets’);
    }
    add_action( ‘customize_register’, ‘mytheme_customize_app’,50 );

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi @appyla,

    Removing the info section is a little easier. Hooking to the customize_controls_init and adding a small style is what I would do. Something like:

    
    add_action( 'customize_controls_init', 'jmc_remove_info', 10 );
    function jmc_remove_info() {
    	echo '<style>#customize-info { display: none; }</style>';
    }
    

    As for the custom color, I know core does have a few by going Users > Your Profile and going to the Color Scheme – unless I misunderstood.

    • This reply was modified 8 years, 6 months ago by Jose Castaneda. Reason: it's not Github code
    Thread Starter appyla

    (@appyla)

    Thanks, It worked great!

    I’ll check the color schemes on my profile.

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Great! Glad to see that worked. 🙂

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

The topic ‘Change the theme customizer’ is closed to new replies.