Skip to content
5pixel

How to change the logo and site icon (favicon) in WordPress

You change the header logo via Appearance → Customise → Site Identity, or in Elementor in the header template. You set the browser tab icon (favicon) in the same place as the Site Icon. A square image of at least 512 × 512 px is all you need.

4 min 7 steps WordPress

  1. 1

    Prepare the files

    For the logo, use a PNG with a transparent background, about twice as wide as it appears in the header (for example 400 – 600 px wide). For the favicon you need a square image of at least 512 × 512 px, ideally just the logo symbol without text. If you don't have the files, logo design will give you all the versions you need.

  2. 2

    Classic theme: Customise

    Log in to WordPress and click Appearance → Customise → Site Identity. Under Logo, click Change logo, upload the new file and crop it if needed. Click Publish in the top right.

  3. 3

    Block themes: Site Editor

    If the Appearance menu shows Editor rather than Customise, you have a block theme. Click Appearance → Editor → Patterns → Header, select the Site Logo block and replace it in the right panel. Save with the Save button.

  4. 4

    Elementor: header template

    On an Elementor Pro site, open Templates → Theme Builder → Header and edit the header. Click the logo element (Site Logo or Image), choose the new image in the left panel and click Publish. If the Site Logo element takes the logo from the site settings, change it under Site Settings → Site Identity. More detail in the guide How to edit the header and footer in Elementor.

  5. 5

    Set the favicon

    In Appearance → Customise → Site Identity you will find Site Icon. Click Select site icon and upload a 512 × 512 px square image. WordPress also uses it to create the mobile icon when someone adds your site to their home screen. With a block theme, Site Icon is under Settings → General. If you don't have a suitable square image, create one from your logo or a letter with the Favicon and icon generator.

  6. 6

    Check the result

    Open the site in a private browser window (Ctrl + Shift + N) and check the logo on a computer and on a phone. Because of caching, the favicon sometimes only shows up after a few days. If the new version doesn't appear, clear the cache on the website and in your browser.

  7. 7

    When the logo doesn't fit the header

    If the new logo has a different width and breaks the header (pushes the menu, increases the height), the layout needs adjusting. I make these changes as part of website maintenance or with a new website design mock-up.

Share:
Guide not working or something does not match?App interfaces change. Let me know and I will fix the guide. Report

News by email

Tips, news and special offers by email

Choose what interests you. I only send that, and not often. You can unsubscribe with one click in every email.

By submitting, you agree to your email address being processed so that I can send you the selected news. You will confirm your subscription by email.