SVG logo skip crop

Hello,
If i’d like to use *.svg file as logo, customizer force to crop it and of course can’t do that. How can i et “skip crop” back, as usually one of the options given?

You could enlarge the crop area to be full 100%. Let me know how it works for you.

enlarge-crop

Regards,
Kharis

As i upload '.svg file, there will be error message as soon i click “Crop”. I have svg plugin installed. Used it before. No theme allow crop svg, it is vector format. Usually i just press “skip crop” and thats it.

Hello there,

Try adding this code to with Code Snippets plugin. Or use your child theme’s functions.

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

Then re-upload youe SVG file.

Regards,
Kharis

I added my logo to header.php.Not as fancy as customizer, but it is solution. Maybe someone else benefit from that information too:

Just inside/div class=“site-branding col-md-4 col-sm-6 col-xs-12”>
Removed /site branding/