Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author WebHunt Infotech

    (@webhuntinfotech)

    Hi,

    Open function.php file look for below code

    add_theme_support( 'custom-logo', array(
    		'height'      => 75,
    		'width'       => 150,
    		'flex-height' => true,
    	) );

    and replace with

    add_theme_support( 'custom-logo', array(
    	'height'=>75,
    	'width'=>150,
    	'flex-height'=>true,
    	'flex-width'=>true,
    	) );

    Now upload your svg icon from customizer, now there will be to options (1) Crop Image (2) Skip Cropping

    Click on Skip Cropping button and save the customizer settings.

    Now put below css rules in Customizer >> Kyma Options >> General Options ->Custom Css Field

    img.custom-logo {
        height: 45px;
        width: 45px;
    }

    change height/ width according to your need.
    Thats it!

    Thanks You

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    Hi @vreiker,

    Is your support work for you?? Can we mark this ticket as solved?

    Let me know for further assistance.

    Thanks

    Thread Starter vreiker

    (@vreiker)

    Hi @webhunt Infotech!

    Yes, it works!
    Sorry for my late answer :/
    And thanks for the solution!

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    Most Welcome,

    Thank You

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘SVG Logo’ is closed to new replies.