Archived topic
Footer and copyright bar missing everywhere but not on homepage
7 replies · Started by ARML on June 23, 2021
Hello,
I took a look on the forum, but i can't find any similar issue explained/resolved...
I use GeneratePress + GP Premium, everything up-to-date.
I just discovered that my footer widgets AND the copyright bar are just missing everywhere on my website. It only appears on the homepage.
The website is online for years now, and i've not done any recent changes... Even stranger, it's a multisite WP, all other sites are using the same child theme from GP, but none have the issue, only the main website.
Help appreciated, i tested several things :
- purging/disabling the cache : nothing
- Switchgin to another theme, then rollback to current theme : nothing (BUT the whole footer appears while customizing with another child theme, and rolling back to the "official" child theme, but when i submit/publish and leave the customization, footer is missing on front end).
- Checked everywhere for a setting in Elementor, elementor pro, Elements... unsuccessful !
Best regards,
J
Hi there,
can you disable the cache - so i can see why the footer is being hidden?
It should be done now, disabled LiteSpeed Cache on both website and the multisite admin panel.
This CSS is the problem:
.site-footer {
display: none;
}
But its in the Litespeed Optimized CSS still so i can't see where it originates from.
The cache should be disabled, i removed all setting i could in LiteSpeed Cache plugin.
I've tried to browse all css file with the developper tool, i can't find any rule for ".site-footer" class.
I am still seeing the Optimized CSS being loaded ( litespeed-optm-css-rules )
Can you check with Litespeed support on how to disable that ?
In the meantime - did you add any custom CSS to the site ? Maybe in the Customizer > Additional CSS
I think i solved the issue, and re-enabled the cache.
After you last comment, i was able to determine that litespeed plugin settings are still active even if you disable cache from the plugin..
The issue came from litespeed plugin and setting "Generate critical CSS", wich generate the inline css "litespeed-optm-css-rules".
IDK from where comes the rule .site-footer {display: none;}, because i've never declared such rule nowhere on the website, but if enable the "generate critical css" setting in litespeed, i have this css rule in the code outputed..
Thanks for invesgation GP support ! Awesome, and sorry for thinking the issue was on the lastest GP update.
I'll try to investigate on why litespeed generate this rule and why only on some pages...
Thank you! Resolved!
Glad i could be of help!