Last active
May 27, 2016 18:39
-
-
Save mikeyarce/2cd330e2b029b880beeea70ccbffcc98 to your computer and use it in GitHub Desktop.
Change the default custom logo size for Storefront and it's child themes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add this to your theme's functions.php | |
function marce_change_custom_logo_size() { | |
add_theme_support( 'custom-logo', array( | |
'height' => 400, | |
'width' => 400, | |
'flex-width' => true, | |
) ); | |
} | |
add_action( 'after_setup_theme', 'marce_change_custom_logo_size', 30 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment