Support » Plugin: SVG Support » Cannot skip cropping in customizer

  • Resolved krmll

    (@krmll)


    Hello,
    I’m trying to use a .svg file as custom-logo. I’m using the latest WP version 4.8.2 and currently no other plugins. My theme is using twentyseventeen as parent.

    I’ve read multiple tutorials, that all say to use add_theme_support(), including FAQs here and this topic: https://wordpress.org/support/topic/svg-still-cant-skip-crop-process/

    I am using it as following:

    myfunction() {
    	
    	remove_theme_support( 'custom-logo' );
    
    	add_theme_support( 'custom-logo', array(
    		'flex-width'  => true,
    		'flex-height' => true,
    	) );
    }
    add_action( 'after_setup_theme', 'myfunction');

    myfunction gets called, I checked by logging.

    So are there any known issues with 4.8.2 or twentyseventeen that I am missing or something else I could be doing wrong?

    Best,
    Bastian

    • This topic was modified 6 months, 1 week ago by  krmll.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.