Website footer/menu disappears on Firefox?
-
Hi,
I've recently designed a website using Laytheme under a .net domain, then swapped the domain with a .com once I finished to site so my client would have no downtime.
Furthermore, I did not want to use Laytheme's menu system so I've built a custom "menu" in the gridder and used it as a footer, then had someone write some custom CSS/JQuery to force the footer to act as a header, therefore acting as a menu. This was suggested by Marius (in his defense as a "dirty" solution...) and it works great on my machines (desktop/phone), but the menu seems to disappear on my client's Firefox browser.
Here is the code:
<script>
window.laytheme.on("newpage", function (layoutObj, type, obj) {
if (type == 'page') {
if (obj.slug == 'home' || obj.slug == 'contact' obj.slug == 'paintings' obj.slug == 'drawings' obj.slug == 'monoprints' obj.slug == 'about')
{
jQuery('#intro-region').before(jQuery('#footer-region'));
}
}
});
</script>I've also tried the same code without the if (type == 'page') {...
Any idea what's happening? Thank you!
-
Dear @mrrpringle
can you send us a link to your website?
That makes it easier for use to help.Best!
marius
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it