Troubleshooting
How to Fix Footer in WordPress: Causes and Fixes

Short answer
Start with the symptom. A missing footer usually means a removed template part or a broken theme file, a footer floating mid-page needs a sticky footer CSS rule, and broken columns often come from unclosed HTML in a widget or post. Clear your cache after each fix.
Key takeaways
- Block theme footers are template parts you can re-add or reset.
- Classic footers need footer.php and a get_footer call.
- Short pages need sticky footer CSS to push the footer down.
- Unclosed HTML tags often break footer layouts.
- Caching and builder footers explain edits that do not appear.
How do you fix the footer in WordPress?
Find the symptom first: a missing footer usually means a deleted template part or theme file, a footer floating mid-page needs a CSS fix, and a broken layout often comes from unclosed HTML in a widget or post.
Footer problems look alike but have different causes. A footer can vanish, sit in the wrong place, show broken columns, or refuse to update after you edit it.
Below, each section starts with the cause, then shows the fix. If you only want to change the footer text or links, our guide on how to change the footer in WordPress is a better fit.
Which footer problem do you have?
Match what you see to the likely cause in this table, then jump to that section.
| Symptom | Likely cause | Where to fix |
|---|---|---|
| Footer missing entirely | Template part removed or theme file edited | Site Editor or theme files |
| Footer floats halfway up the page | Short page content, no sticky footer CSS | Additional CSS |
| Columns broken or footer inside content | Unclosed HTML tag | Widget or post content |
| Footer widgets not showing | Widgets not assigned or removed | Widgets screen |
| Edits not showing live | Caching or builder override | Purge caches |
| Footer looks wrong on phones | Missing responsive settings | Theme or builder settings |
| Plugins break near the footer | Missing wp_footer call | Theme footer file |
Why is the footer missing in a block theme?
In a block theme, the footer is a template part, so if it was deleted from a template or the template part was emptied, the footer disappears from those pages.
To restore it:
- Go to Appearance > Editor > Templates.
- Open the template used by the broken page, such as Pages or Single Posts.
- Open the List View and look for a Footer template part at the bottom.
- If it is missing, add a Template Part block and choose your footer.
- Save the template.
If the footer template part exists but is empty, go to Appearance > Editor > Patterns and open Template Parts. Open the footer and use the options menu to reset it to the theme default, if offered.
Resetting removes your custom changes, so note anything you want to keep first. The Site Editor documentation explains templates and template parts.
Why is the footer missing in a classic theme?
In a classic theme, the footer disappears when footer.php is broken, a template file no longer calls get_footer, or a PHP error stops the page before it reaches the footer.
Check these in order:
- PHP error. If the page stops loading halfway, a plugin or theme error may be cutting it off. Turn on logging and check the error. Our guide on enabling debug mode shows how.
- Edited theme files. If someone edited footer.php or a page template, compare it with a fresh copy of the theme.
- Missing get_footer. Each template should end with a call to the get_footer function. Without it, no footer loads.
- Page template choice. Some themes offer a Blank or Canvas template that hides the header and footer on purpose. Check the Template setting in the page sidebar.
If you edited theme files directly, update or reinstall the theme to restore them. Put future changes in a child theme so updates do not overwrite them.
Why does the footer float in the middle of the page?
On pages with little content, the footer sits right below the content, so it appears halfway up the screen; a sticky footer CSS rule pushes it to the bottom.
This is normal browser behaviour, not a WordPress bug. The page is simply shorter than the window.
Add CSS like this in Appearance > Customize > Additional CSS, or in the Site Editor's Styles > Additional CSS:
body > .wp-site-blocks {
min-height: 100vh;
display: flex;
flex-direction: column;
}
body > .wp-site-blocks > footer {
margin-top: auto;
}
That example suits most block themes. Classic themes use different wrapper classes, so check yours with your browser's inspect tool. MDN's guide to the sticky footer pattern explains the technique.
Why is the footer layout broken or inside the content?
When footer columns collapse or the footer appears inside a sidebar or post area, an unclosed HTML tag in a widget, Custom HTML block or post is usually the cause.
A missing closing div tag shifts everything after it, including the footer. The page then looks as if the footer has moved.
To find it:
- Check whether the problem appears on every page or only some.
- If only some, look at those posts for Custom HTML blocks or pasted code.
- If all pages, check footer widgets and any HTML in your theme settings.
- Run the page through the W3C Markup Validation Service to spot unclosed elements.
Remove or fix the broken HTML, then clear your cache and reload.
Why are footer widgets not showing?
Footer widgets disappear when they are not assigned to a footer area, the theme changed its widget areas, or the area is turned off in the theme settings.
Go to Appearance > Widgets and look for areas named Footer 1, Footer 2 and so on. Make sure your widgets sit in those areas.
After a theme change, widgets can move to an Inactive Widgets section. Drag or add them back to the footer areas.
Some themes also need you to enable footer columns in the Customizer first. Our guide to adding a footer widget covers the setup.
If widgets still refuse to appear, our guide to fixing widgets that are not showing covers deeper causes.
Why don't footer changes show on the live site?
Footer edits that save but do not appear are almost always cached, or a page builder or theme setting is overriding the footer you edited.
Purge your caching plugin, server cache and CDN, then check in a private window. Our guide on how to clear cache in WordPress covers each layer.
Also check that you edited the right footer. A site may have:
- A theme footer in the Customizer or Site Editor.
- A page builder footer template, such as an Elementor theme builder footer.
- A footer added by a header and footer plugin.
The builder footer usually wins. If you use Elementor, our guide on editing the footer in Elementor shows where it lives.
How do you fix a footer that looks wrong on mobile?
Mobile footer problems usually come from columns that do not stack, fixed widths, or large padding, which you fix with your theme's or builder's responsive settings or a small CSS change.
In the block editor, select the Columns block in your footer and make sure Stack on mobile is turned on.
In page builders, switch to mobile view and adjust column widths, spacing and font sizes for small screens.
Avoid fixed pixel widths on footer elements. Use percentages or let the theme handle widths. Check the result with your phone, not just a narrow desktop window.
Why do plugins break when the footer is changed?
If your theme's footer file is missing the wp_footer call, plugins that load scripts in the footer stop working, including sliders, forms, analytics and the admin bar.
The wp_footer function should sit just before the closing body tag in footer.php. Custom or edited themes sometimes lose it.
Signs include a missing admin bar when logged in, forms that do not submit, and tracking tools that stop recording.
Restore the call in your child theme's footer.php, or reinstall the theme if you edited the original.
How do you remove footer credits safely?
Remove Powered by text through your theme's footer settings, the Site Editor, or a child theme, rather than hiding it with CSS or editing core theme files.
Most themes let you change the credit line in the Customizer or theme options. In block themes, open the footer template part and edit or delete the paragraph.
Some free themes lock the credit unless you buy the premium version. Check the theme's licence before removing it by other means. Our guide on how to remove the WordPress footer credit covers each method.
What should you do if nothing works?
Switch to a default theme briefly; if the footer works there, the problem is your theme or its settings, and if not, a plugin is the likely cause.
Then deactivate plugins one at a time to find a conflict. Our guide to fixing plugin conflicts gives a safe order to follow.
Take a backup before changing theme files or resetting templates. That way you can undo any step that makes things worse.
Frequently asked questions
Why did my WordPress footer disappear?
In a block theme, the footer template part may have been removed from a template. In a classic theme, footer.php may be broken, a template may have lost its get_footer call, or a PHP error may stop the page loading. Some page templates also hide the footer on purpose.
How do I make the footer stay at the bottom of the page?
Add a sticky footer CSS rule that makes the page wrapper at least the full screen height and pushes the footer down with an automatic top margin. Your theme's wrapper class may differ, so inspect the page to find the right selector first.
Why are my footer widgets gone after changing themes?
Each theme has its own widget areas. When you switch, widgets in areas the new theme does not have move to an inactive section. Open the Widgets screen and add them to the new theme's footer areas, or enable the footer columns first.
Why does my footer look different on some pages?
Those pages may use a different template, a page builder layout, or contain broken HTML that shifts the footer. Check the template chosen in the page sidebar, then look for Custom HTML blocks or pasted code on the affected pages.
Is it safe to edit footer.php directly?
It works, but theme updates will overwrite your changes. Use a child theme for code edits, or use the Site Editor or theme settings instead. Always take a backup first, because a small PHP mistake can break the whole site.
Sources
- Site Editor WordPress.org Documentation
- get_footer() WordPress Developer Resources
- wp_footer() WordPress Developer Resources
- Sticky footers MDN Web Docs
- Markup Validation Service W3C
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


