• Resolved Lotster

    (@lotster)


    Hi there

    I posted this in the Twenty Fifteen forum but got no answer. I’ve beet struggling to increase the logo size in the theme for almost a week now. I tried custom CSS, changing the theme’s style.css, and anything else I could find on Google. Can anyone tell me what I’m missing?

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Chetan Prajapati

    (@chetan200891)

    You can remove the site-header’s left and right padding and upload large size logo! May be that will do the trick.

    Thread Starter Lotster

    (@lotster)

    Hi Chetan,

    Thank you for your reply!

    I used the Inspect Element function in Firefox to see what the padding is and it’s showing 0 for both left and right. I’m still new to CSS so maybe I’m missing something?

    Chetan Prajapati

    (@chetan200891)

    Can you try below CSS?

    #masthead.site-header {
    	padding-left: 0;
    	padding-right: 0;
    }
    Thread Starter Lotster

    (@lotster)

    That seems to have done it, thank you very much Chetan!

    Chetan Prajapati

    (@chetan200891)

    Glad to hear that it worked for you! You can mark this topic as resolved.

    Thread Starter Lotster

    (@lotster)

    Hi Chetan,

    It moved the logo to the left but it’s still the same size. I even tried different size images, it almost seems like the theme automatically sets the logo to a standard size… Any other ideas?

    Chetan Prajapati

    (@chetan200891)

    ok I got it. It seems like theme cropping logo to max 248px forcefully. Are you using child theme?

    Chetan Prajapati

    (@chetan200891)

    You can add option for skip cropping logo by this way. Into functions.php

    replace

    add_theme_support(
    			'custom-logo', array(
    				'height'      => 248,
    				'width'       => 248,
    				'flex-height' => true,
    			)
    		);
    

    with

    add_theme_support(
    			'custom-logo', array(
    				'height'      => 248,
    				'width'       => 248,
    				'flex-width'  => true,
    				'flex-height' => true,
    			)
    		);
    

    Then upload logo again, it will have option to skip crop logo. So it will use original size logo.

    Thread Starter Lotster

    (@lotster)

    No, not using a child theme at the moment. I’ve never worked with a child theme, only recently started using WordPress after moving over from Joomla…

    Chetan Prajapati

    (@chetan200891)

    @lotster, Did you tried above suggestion?

    Thread Starter Lotster

    (@lotster)

    Hi Chetan,

    Sorry, I didn’t see your post. It worked! Thank you so much!! Marking this thread as resolved. Thanks again!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Logo Size in Twenty Fifteen theme’ is closed to new replies.