- This topic has 4 replies, 2 voices, and was last updated 7 years, 6 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The topic ‘Increase size of site logo’ is closed to new replies.
Home › Forums › Exoplanet Pro › Increase size of site logo
I am using Exoplanet Pro and would like to increase the size of the logo from 300 x 60 to say 400 x 150. Please help I cannot find where I can change this
Hi, you would need to override the settings by adding this code in a child theme
function exoplanet_pro_child_theme_setup() {
add_theme_support('custom-logo', array(
'width' => '400',
'height' => '150',
) );
}
add_action( 'after_setup_theme', 'exoplanet_pro_child_theme_setup' );
Thanks have added the code but doesn’t work when you go to add the logo it still says 300x 60 and tries to crop the images down
Sorry about that Gavin, my mistake. The code should be:
function exoplanet_setup() {
add_theme_support('custom-logo', array(
'width' => '400',
'height' => '150',
) );
}
add_action( 'after_setup_theme', 'exoplanet_setup' );
Many Thanks That works perfectly