stiv

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Custom logo in child theme #1203

    stiv
    Participant

    Hi,

    I tried to put code in the CSS but when I go to import my logo into site identity, it still crops my logo into a 95x95px square. I tried to put this code in the functions.php in my child theme -it doesn’t work.

    
    		// Enable support for custom logo.
    		add_theme_support( 'custom-logo', array(
    			'width'  => 500,
    			'height' => 95,
    		) );

    If i change functions.php in main theme to

    // Enable support for custom logo.
    		add_theme_support( 'custom-logo', array(
    			'width'  => 500,
    			'height' => 95,
    		) );

    and my image size is 217×37 I can’t crope it in my size. What I made wrong?

Viewing 1 post (of 1 total)