Logo

Home Support PT Magazine Logo

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13011
    Anonymous
    Inactive

    I’m forced to crop 🙁
    How to use a bigger/wider logo?

    Regards Soren M

    #13015
    nirav
    Keymaster

    Hello Soerenm,

    Greetings of the day!

    You can customize the theme as per your requirement by creating a child theme. You can find detailed documentation to create a child theme here
    After creating a child theme please paste the below-mentioned code in the child theme’s functions.php file.

    /*
    * Enable support for custom logo.
    */
    
    function ecommerce_gem_setup_cust_logo(){
        add_theme_support( 'custom-logo', array(
            'height'      => YOUR_LOGO_HEIGHT,
            'width'       => YOUR_LOGO_WIDTH,
        ) );
    }
    add_action( 'after_setup_theme', 'ecommerce_gem_setup_cust_logo',20 );

    Logo with the bigger size might affect the look of your website menu that’s the reason we have given the fixed size for the logo.

    Hope this helps.

    Thanks and Regards,
    Team ProDesigns

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