• Resolved earthbranding

    (@earthbranding)


    Hello,

    Twenty Ninteen and Gutenberg are great, but the Site Identity -> Logo size being square doesn’t work for many users I guess, I would update the theme and allow users to set their desired aspect ratio for the cropping and logo embedding.

    I look forward to seeing this feature in the next theme updates,

    Best,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter earthbranding

    (@earthbranding)

    Just found the answer to this in case anyone else needs it

    change
    ‘height’ => 100,
    ‘width’ => 300,

    to what’s needed

    add_action( ‘after_setup_theme’, ‘twentynineteen_child_setup’, 100 );

    function twentynineteen_child_setup() {

    add_theme_support(
    ‘custom-logo’,
    array(
    ‘height’ => 100,
    ‘width’ => 300,
    ‘flex-width’ => false,
    ‘flex-height’ => false,
    )
    );

    }

    Hi, earthbranding

    And where should you include this code? Sorry, but I’m a complete newbie in tinkering with WP code.

    Thanx in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Site Identity Logo’ is closed to new replies.