How to Change the Logo (And Its Properties) Within WordPress

How to Change the Logo (And Its Properties) Within WordPress

One of the biggest positives of WordPress is how much you can customize almost every element of the front- and back-ends. Because of this, you also get super-intuitive ways to adjust the fundamental components. For example, there are plenty of straightforward ways to change the logo within WordPress.

Regardless of your coding knowledge, you can work with the logo. Moreover, you can adjust its properties (such as size) with a few button clicks.

This post will show you how to change the WordPress logo and size. Before that, let’s discuss some of the reasons why you’d want to do this.

Why You’d Want to Change the Logo and Its Size Within WordPress

Your website’s logo is an important part of its branding. As such, you’ll want to ensure it looks clean and sharp and has the correct dimensions. In many cases (especially with high-definition displays), your logo will be bigger than it will display. This is so you can squeeze more information into each pixel (in a broad sense).

What’s more, WordPress doesn’t always offer standardized sizes for logos (and other elements, for that matter). This will be more obvious when you take a look at the layouts for various different themes.

WordPress Themes

Because of this, you’ll often have a logo in one size that needs to fit into a container element in another size. You’ll need to adjust the logo or its properties to fit it into the designated space.

How to Change the Logo Within WordPress

Before we discuss changing the size of the logo, let’s show you how to change the logo itself. This will also apply if you add a logo to your site for the first time.

To do this, head to the WordPress dashboard and to the Appearance > Customize screen. This will bring you to the WordPress Customizer:

wordpress customizer

From here, open up the Site Identity section on the left-hand side. This will let you select a logo using the default uploader:

wordpress site identity

You can also choose to hide the Site Title and Tagline, or keep them in:

Theme customizer

It’s a simple process that takes a matter of a few clicks. We need to dig deeper into the available options to work with the logo more.

How to Change the Logo Size Within WordPress (2 Methods)

Not all themes are created equal, meaning you’ll need to employ different methods if your chosen option isn’t available.

Below, we’ll provide two ways to change the logo size within WordPress, starting with the Customizer.

1. Use the WordPress Customizer

This method will be the straightforward option for many users and the first one you’ll consider. However, you might be unable to change the logo with this one if your theme doesn’t support it.

For example, the WordPress default themes (such as Twenty Twenty) will only let you change the logo. In contrast, the free version of Astra lets you alter the logo width:

add wordpress logo

If you use a page builder plugin, you can often work with the site logo using a dedicated options panel. For example, Elementor has options to customize the layout and style of the logo itself, and similar solutions are available for tools such as Beaver Builder, the GeneratePress theme, and others.

Regardless, the process is simple:

  • Find the desired settings within either the Customizer or your page builder.
  • Adjust the logo’s width or height, often using sliders but through whatever fields are available.
  • Save your changes.

There’s little more to explain about this method because it’s easy to implement and use. If you want more control and have the skills, though, check out our following method.

2. Use CSS Code to Change the Logo Size

If you have the skills—or want to develop them—you can change the WordPress logo using CSS. A few steps were involved in the past, but now you can tick off all the steps without leaving the dashboard.

To start, open your site and right-click on your logo. From the context menu, choose the option to Inspect. It may also be called Inspect Element:

inspect element

From the developer tools that pop up, you’ll want to look for the logo’s container. This will often use highlighting so that you’ll be able to find the right element. When you see it, look at the code in the right-hand panel. This will show you what code to change:

site logo

You can double-click and copy the text here. Once you’ve done this, go to the Appearance > Customize section within the WordPress Customizer.

There will be an Additional CSS section here. Within the text area, add the following code and replace our placeholder with your own CSS:

header .custom-logo-link img {

max-width: 20em;


Please increase the number to make the logo bigger, or decrease the number to make it smaller. You should see the logo change based on what you enter.

logo customizer

Once you save your changes (using the Publish button if the page is already live, the new logo size will show on your front-end display.

Wrapping Up

Most customization options within WordPress are simple to implement. This is a big selling point for the platform, enabling almost any user to develop a website without coding knowledge.

To change the logo within WordPress, you can first go through the built-in Customizer options. If your theme doesn’t include the option to change the dimensions, you might find something similar within your page builder’s settings. Although using CSS can sound scary, it’s a straightforward way to change the size of the WordPress logo, and you can revert it at any time.

Do you need to change the WordPress logo, and if so, which of our methods are you interested in? Let us know in the comments section below!

wordpress support plans

Table of Contents

Leave a Reply

Comment policy: We value comments and the time that visitors to our blog spend to give feedback. Please note that all comments are manually moderated and any deemed to be spam or promotional will be deleted.