• Hello,

    Im currently working on the blog: https://www.cocotje.nl,

    Im using Jetpack for the sitelogo functionality. Now the problem is: It doesn’t matter what size i change the logo to in CSS or actual file size. It just won’t change other than the 300x 160px.

    This is in the HTML Attributes when you inspect the element.

    How can I fix this?

    Kind Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there!

    You’ll need to redefine Minnow’s Site Logo image size. If you look in Minnow’s ‘inc/jetpack.php’ file, you’ll see where Site Logo support is added and the ‘minnow-site-logo’ image size is registered. A new function, added to the same action (‘after_theme_setup’) with a later priority would allow you to modify the image size:

    function minnow_child_site_logo() {
    	add_image_size( 'minnow-site-logo', '400', '400' );
    }
    add_action( 'after_setup_theme', 'minnow_child_site_logo', 11 );

    Let us know if you have any questions!

    Moderator Kathryn Presner

    (@zoonini)

    Thanks, Michael!

    ginobrugman – be sure to add this function to your child theme’s functions.php file, so your tweaks won’t be overwritten when updating the theme. Here are some guides in case you haven’t made one before:

    https://codex.www.ads-software.com/Child_Themes
    https://op111.net/53/
    https://vimeo.com/39023468

    If your child theme doesn’t already have a functions.php file, create one using a plain-text editor and add an opening PHP tag at the top, before the function:

    <?php

    Let us know if you need further help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme forcing jetpack sitelogo dimensions’ is closed to new replies.