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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login