Support » Themes and Templates » Twenty sixteen size logo

  • Resolved VM06

    (@vm06)


    Hello,

    I would like to change the logo size in twenty sixteen theme (smaller).
    I have tried this solution but it does not work in functions.php child theme :

    add_action( ‘after_setup_theme’, ‘child_custom_logo_setup’, 11 );

    function child_custom_logo_setup() {
    $args = array(
    ‘height’ => 150,
    ‘width’ => 150,
    );
    add_theme_support( ‘custom-logo’, $args );
    }

    Is there any possibilities?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • No idea?
    Thanks.

    I got it to work, but I made my logo bigger. This is my code:

    function add_stuff_to_theme() {
    
    add_theme_support( 'custom-logo', array(
    		'height'      => 630,
    		'width'       => 1200,
    		'flex-height' => true,
    	) );
    }
    
    add_action( 'after_setup_theme', 'add_stuff_to_theme', 11 );

    Ok.
    I will try this.
    Thanks so much for your answer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Twenty sixteen size logo’ is closed to new replies.