BLOG

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 elements too. For example, there are plenty of straightforward ways to change the logo within WordPress.

In fact, regardless of whether you have coding knowledge or not, there will be a way for you to work with the logo. What’s more, you can also adjust its properties (such as the size) through a few button clicks.

Over the course of this post, we’re going to show you how to change both the logo and its size within WordPress. Before that, let’s talk about 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 make sure it’s looking clean and sharp, with the right dimensions. In lots of cases (especially with high-definition displays), your logo will be at a bigger size than what it will display at. 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

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

How to Change the Logo Within WordPress

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

 

To do this, head to the WordPress dashboard, 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:

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

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

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

Below, we’re going to give your two ways to change the size of the logo within WordPress – starting with the Customizer.

1. Use the WordPress Customizer

This method will be the straightforward option for lots of users, and the first one you’ll consider. However, you might not be able 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, there will often be a way to work with the site logo using a dedicated options panel. For example, Elementor has a set of options to customize the layout and style of the logo itself, and you’ll find similar solutions 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 width or the height of the logo, 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 next method.

2. Use CSS Code to Change the Logo Size

If you have – or want to develop – the skills, you can also change the WordPress logo using CSS. In the past, there would be a few steps involved to do this, but now you can tick off all of 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 find it, look at the code in the right-hand panel. This will show you what code to change:

site logo

You’re able to double-click and copy the text here. Once you’ve done this, head 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;

}

To make the logo bigger, increase the number. Decrease the number to make the logo 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 of the customization options within WordPress are simple to implement. This is a big selling point for the platform, as it enables almost any user to develop a website without the need for coding knowledge.

To change the logo within WordPress, you can go through the built-in Customizer options first and foremost. 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 have a 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

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.