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
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
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
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
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
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
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
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.
Related guides
All guides- Graphics and print · 4 min How to choose the right logo file (SVG, PNG, PDF) for each use Use SVG or PNG on your website, PNG on social media, PNG in Word and PowerPoint, and PDF for the printer. If you are not sure, send the whole file package and let the printer or supplier choose.
- Elementor · 4 min How to edit the header and footer in Elementor You change the phone number in the header, or the address and links in the footer, in Theme Builder once for the whole website.