Twenty Seventeen Theme Customisation

How To Change The Logo Size (Increase & Decrease) In Twenty Seventeen

Updated: September 18, 2018  Posted: February 22, 2017  ~ 3,500 Readers   ~ 2 Minute Read    11 Comments >>

The logo in Twenty Seventeen is a fixed size, and it's width, and height, can be increased or decreased in size.

The default logo size.

The logo re-sized.

In this example, the logo has been doubled in size, however, it can also be reduced in size.

Where and how to make the width of the menu full screen:

In WordPress Admin > Appearance > Edit CSS.

Enter the CSS code below.

  • The 700px max-width is to double the default width of 350px. To halve the size, change the value to 125px
  • The 160px max--height is to double the default height of 80px. To halve the size, change the value to 40px.

The CSS code:

There are 11 comments to the above post [Read comments].
Click here to comment, ask or share something.


  • James says:

    Sorry to ask something so obvious, but my Twenty Seventeen does not have a "Appearance > Edit CSS" menu option. I can select Appearance > Editor, and then there are multiple files to edit. Should this been done in "style.css" or should I be editing "header.php"? Also, where specifically in the css document should the above code be placed? Thanks in advance for your assistance.

  • Uri says:

    Hye. How can I manage two different sizes: 1 for the Home Page, and another for other pages?

    • Uri,
      Try putting .page-id-XX of your home page before each style for the home page, and also use the same code as above for the other pages:

      First, get your .page-id-XX from the body tag of your home page (e.g. .page-id-86 )

      Then put that at the beginning of each CSS code block like this:

      @media screen and (min-width: 48em) {
      .page-id-86 .custom-logo-link img {
      max-width: 700px;

      .page-id-86 .custom-logo-link img {
      /* display: inline-block; */
      max-height: 160px;
      /* width: auto; */

      Change the width and height for the home page logo.

      Then copy the two styles, as in the post above and without .page-id-XX, for all the other posts and pages.

  • Daffy says:

    When Uploading a Logo 2017 theme will Crop the image to a much smaller size, so when this is implemented the image becomes blury

    • Daffy,
      When I select an image from Media that is 1920 x 1080 pixels, for the logo, a square is selected in the middle of the image at full height.
      I then change the selection to use the whole width of the image and even though the image appears smaller as the logo on the header, it is clear.
      Can you make sure you are using a high enough resolution image for the logo and then select the whole image?

  • Mitch says:

    Hi Bharat,
    I've had someone help me on a slider customization for the homepage and they created a child theme so the changes don't get overwritten. Do I need to do the same with the logo size customization? I'm assuming in your example here, I'm just making changes to the regular or parent theme CSS, correct? Also, I hope I'm using the right definitions. Thanks for your patience with my lack of knowledge here.

  • bonsai698 says:

    Hi Bharat,
    is there a way to increase the logo size even more then in your example?

    • Hello, to increase the logo size more than in the example below, then simply multiple the 700px and 160px by how much you want to increase the size by. So, if you want to make it 1.25 times bigger than it appears with the code above use 875px and 188px instead and save the updates in the CSS Editor.

Ask & Share

Do NOT follow this link or you will be banned from the site!