Logo suggested image dimensions too small

Home Support Super Construction Plus Logo suggested image dimensions too small

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17018
    jc_anchor555
    Participant

    I am in Appearance > Customize > Site Identity and every time I try to change logo in the Media Library I get a message that says ‘Suggested image dimensions: 220 by 70 pixels.’

    The default logo that comes with Super Construction Plus is 300 x 60 pixels which I amm using for my new logo. When I select image, it asks me to crop every time rendering my logo chopped and useless.

    Is there any other way to get my logo installed for my website? Thanks.

    #17066
    nirav
    Keymaster

    Hello There!

    Hope you are doing good!

    Edit file “wp-content/themes/super-construction-plus/functions.php” and add the below-mentioned code at the end of the file

    add_action( 'after_setup_theme', function(){
        add_theme_support( 'custom-logo', array(
                'height'	=> 70,
                'width' => 220,
       	‘'flex-height' => true,
       	 'flex-width'  => true,
        ) );
    }, 20 );

    Then you can Skip Cropping to use a full-size logo.

    Hope this helps!

    Have a great day ahead!

    Regards,
    Team ProDesigns

    #17077
    jc_anchor555
    Participant

    Thank you for providing a fix for that!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.