A well-designed logo and favicon are crucial for branding your WordPress website. Here’s a detailed step-by-step guide on how to change site logo and favicon in WordPress, covering multiple methods.
Understanding the Terms
- Site Logo: The primary image representing your website, typically displayed prominently on the header.
- Site Favicon: A small icon displayed in browser tabs, bookmarks, and search results.
Methods for Changing Your Site Logo or Favicon
1. Using the WordPress Customizer
- Log in to your WordPress dashboard.
- Go to Appearance > Customize.
- Click on Site Identity.
- For Changing Logo:
- Under “Site Logo,” click Select image.
- Choose an image from your Media Library or upload a new one.
- Use a square image with a minimum size of 512×512 pixels for optimal display.
- Click Crop to adjust the logo’s size and position if asked.
- For Changing Favicon:
- Under “Site Icon,” click Select site icon.
- Choose an image from your Media Library or upload a new one.
- WordPress recommends a square image of 512×512 pixels for the best experience.
- Click Generate favicon to create different sizes if asked.
- Click Save & Publish.
2. Using Block Editor or Full Site Editor (FSE) for block themes
- Log in to your WordPress dashboard.
- Go to Appearance > Editor.
- Select to edit any page/template/pattern on your website.
- Select the header.
- Click the “+” icon to add a new block.
- Search for and select the Site Logo block.
- For changing Logo:
- Click the Replace button and choose your logo image.
- OR On the side settings menu for block, click on the chosen image under the media panel to open a dialog box to either upload, replace, or reset the image.
- For changing Favicon:
- On the side settings menu for block, under settings panel, you should see Use as site icon toggle to use the same image as the favicon.
- if you want a different image as a favicon, under the same toggle mentioned above you will find a short text and a link to change your site icon. follow the link to the customizer page, then change, save, and publish. (this mentioned link should take you to some path like: https://[YOUR-DOMAIN]/wp-admin/customize.php?autofocus[section]=title_tagline)
- Adjust the settings and publish the page/template/pattern for changes to take effect.
Note: If for some reason you cannot find the replace option for site logo, one of the plugin might be interfering with the site logo block. for example: Currently, LiteSpeed Cache plugin in WordPress does interfere with site logo block and that causes the replace option to not show up in block editor. So deactivate LiteSpeed Cache plugin until you have changed the site logo or favicon and the remember to turn the plugin back on.
3. Using Your Theme’s Settings
- Some themes offer specific options for changing the logo within their settings. Consult your theme’s documentation for detailed instructions.
Make Sure you clear all the cache from all services you might be using like LiteSpeed Cache, W3 Total Cache or CloudFlare, etc.