• thecalgarian

    (@thecalgarian)


    Hey there,

    Just wondering how I can change the maximum logo size for the theme. I need the height to be greater than 80px, but the theme keeps asking me to crop my logo way too much. Please help.

    Thanks, all!

Viewing 1 replies (of 1 total)
  • Theme Author Nik Smalin

    (@nik-smalin)

    Hi.

    you can press “not cropping button” when it offers you to crop image
    for changing max height and max width add this to your custom css

    .header__inner__wrapper .custom-logo-link img {
        max-width: 146px;
        max-height: 80px;
    }

    where 146 is max width value, 80 – max height
    change it on what you need

    for change default crop width and heigth add this to your functions.php

    remove_theme_support( 'custom-logo' );
    add_action('after_setup_theme', function() {
    	add_theme_support('custom-logo', [ 'height' => 160,'width' => 292 ]);
    });

    where 292 is width, 160 – height (change it on what you need)

    Also, changing of “Read more button” in content.php file better doing in child theme, so you will not lost your changes after theme updating.

    Regards!

    • This reply was modified 4 years ago by Nik Smalin.
    • This reply was modified 4 years ago by Nik Smalin.
Viewing 1 replies (of 1 total)
  • The topic ‘Maximum Logo Size’ is closed to new replies.