Talon logo size will not change

No matter what size image I use for my logo via the Customise panel I g et asked to crop the image. After this is done I inspect the code of my page and I notice that the img tag is being given a static height of 44px and a width of 200px. Can this be changed? I’d like to use a logo of size 453 x 100px but it just keeps getting cropped.

Hello MountyCJ83,

Please try to use the following PHP code.

You can add PHP code to your site with Code Snippets plugin (just copy PHP code and paste it in Dashboard → Snippets → Add New after installing and activating the plugin, name the snippet, and click Save Changes and Activate button). Also you can add PHP code directly to functions.php file of your child theme.

add_action( 'after_setup_theme', 'child_custom_logo_setup', 11 );

function child_custom_logo_setup() {
    $args = array(
        'height' => 200,
        'width' => 400,
        'flex-height' => true,
    );
    add_theme_support( 'custom-logo', $args );
}

Then re-upload your logo.

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.