Skip to content
ThemesIonic — home
Troubleshooting

WordPress Site Logo Not Changing? Find What Draws the Header

WordPress keeps one site-wide logo, and every Site Logo block shows that same image. When the old one stays on screen, either something else draws the header, a template has no logo block, or a cache still holds the old file.

Updated 5 min read beginner

Quick answer: WordPress stores one site-wide logo, and every Site Logo block shows that same image. If the old logo stays on screen, something other than that setting draws the header (a builder template, a theme option, hard-coded markup), or a cache still serves the old file. The image URL in the page source tells you which.

Where the logo is actually stored

Most guides say the logo is a per-theme setting. That stopped being the full story in WordPress 5.8, when the Site Logo block arrived:

  • The Customizer writes the attachment ID to the custom_logo theme mod, which is saved per theme in the theme_mods_{theme} option.
  • On every save, core copies that ID to a global site_logo option. Clearing the logo deletes it again.
  • Whenever any theme reads custom_logo, core returns site_logo instead if it exists.
  • The Site Logo block has no image of its own. Its attributes are width, link behaviour and the site icon toggle. It renders the same logo the classic functions use, which is why its description says "Update this block and the changes apply everywhere."

In practice the logo follows you across theme switches and is shared by every Site Logo block on the site. A different logo in the footer and the header can only come from something that is not a Site Logo block.

Symptom → what controls it → fix

Symptom What actually controls it How to check Fix
Block theme: no Logo field in Site Identity, or no Customize menu at all The Logo control appears only if the theme declares custom-logo support; block themes hide Customize unless a plugin adds Customizer settings Appearance menu: is Customize listed? Set the logo with a Site Logo block in the Site Editor
New logo appears in the footer but not the header (Twenty Twenty-Five) The default header pattern holds a Site Title block and no Site Logo block. The footer has one Open the Header template part in the Site Editor Add a Site Logo block to the header template part
Logo set, but nothing renders and there is no broken image The block outputs nothing when no logo is set, or when the attachment is gone or is not an image Media Library: does the attachment still exist? Choose the logo again
Same image, wrong size in one place The block's own width setting, which applies only to that block Select the block → width setting Adjust width per block
Header logo differs from the one you set A builder header, a theme options panel or a hard-coded <img> Image URL in the page source does not match your upload Change it where that template lives
Classic theme: Customizer value saved, header unchanged The theme's header template does not call the_custom_logo() Search the theme's header.php Use the theme's own logo field, or a child theme
Old logo for logged-out visitors only Page cache or CDN serving old HTML Compare logged in with a private window Purge the homepage, then the CDN
Favicon changed along with the logo Use as Site Icon is on in the Site Logo block Block settings Turn it off and set Site Icon separately

Read the image URL first

In a private window, open the page source and find the logo <img>. Core outputs the logo at its full size, with a srcset and the class custom-logo on the image.

  • The URL is not your new file. Either the HTML is cached or something else draws the header. Logged in, the source should show the new file. If it does not, it is an override, not a cache problem.
  • The URL is your new file but the image looks old. Open it in a new tab with ?v=2 appended. If the old artwork still appears, the file on the server is old.
  • The <img> has no custom-logo class. Neither the Site Logo block nor the_custom_logo() drew this logo. Look for a builder template or a theme option.

Builders and theme options

Builder headers keep their own image in their own template and ignore the site logo entirely. Editing a header built in Elementor shows where that setting sits. Commercial themes often add a logo field in their own options panel, which takes priority over the standard one. In a block theme, the header is a template part. Template parts in block themes covers how to find and edit the right one, and a site title that will not change follows the same pattern.

When the file itself is stale

Uploading through the Media Library never overwrites anything. If logo.png already exists, WordPress saves the new upload as logo-1.png, so it gets a new URL that no cache holds. A stale file only happens when someone replaced it over FTP or with a replace-media plugin, and that leaves two traps:

  • Resized copies are not regenerated. The srcset still lists the old sub-sizes, and the browser may pick one of them.
  • If the original was larger than 2560 pixels, WordPress saved a -scaled copy and uses it as the full size. Replacing the original does not touch that copy.

Upload the new logo as a fresh file and select it. If it renders but looks soft, that is a blurry image problem, not a logo setting. If it shows as a broken image icon, start with images not showing in WordPress.

Common mistakes

  • Uploading the same logo three times in the Customizer when the header comes from a builder template.
  • Expecting a Site Logo block to hold its own image. Changing it in one block changes it everywhere.
  • Purging every cache before checking the logged-in page source, which already shows whether it is a cache problem.
  • Assuming a theme switch deleted the logo when the new theme's header simply has no logo block.

Frequently asked

The Customizer only shows the Logo control when the active theme declares support for custom logos. Most block themes do not, and they may hide Appearance, Customize altogether. In a block theme you set the logo in the Site Editor by selecting a Site Logo block in the header template part and choosing an image there.
Not the stored value. Core copies the logo into a site-wide site_logo option and returns it for every theme. A new theme can still fail to show it, either because its header has no Site Logo block or because it never calls the logo function in its header template.
It can. The Site Logo block has a Use as Site Icon setting, and with it on the logo is also used as the site icon. Without it, the icon is a separate setting under Settings, General, Site Icon, and changing one never touches the other.

Related guides