⛔ 🐞 Bug Report: Hello <=2.8.1 + Elementor <= 3.15.1 - Footer is not empty by default #23376
Closed
5 tasks done
Labels
document/settings
References a Document's (Posts, Pages, Templates, Popups, etc.) settings.
mod*
product/pro
Indicates if the referenced component is part of the Elementor Pro plugin.
theme-builder/footer-template
References any Footer template feature of Elementor Pro’s Theme Builder.
theme-builder/header-template
References any Header template feature of Elementor Pro’s Theme Builder.
theme-builder
References any component related to Elementor Pro’s Theme Builder.
type/layout
Indicates when a topic is related to a component’s Layout.
Prerequisites
Description
When one wants a page with only a header and no footer, the footer cannot be easily hidden / disabled when using the "Theme" Page Layout.
This is what outputs (notice the non-empty space):
<footer id="site-footer" class="site-footer" role="contentinfo"> </footer>
Ideal outcome: no footer will be rendered in the markup, unless:
Less ideal but still usable:
<footer id="site-footer" class="site-footer" role="contentinfo"></footer>
→ this can be targeted through css:.home .site-footer:empty { display: none; }
<footer id="site-footer" class="site-footer footer-empty" role="contentinfo"> </footer>
Current (ugly) workaround:
.home .site-footer:not(:has(*)) { display: none; }
Steps to reproduce
Isolating the problem
System Info
Click to reveal
The text was updated successfully, but these errors were encountered: