Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Website footer/menu disappears on Firefox?

    Bug Reports
    2
    2
    141
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mrrpringle last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Dear @mrrpringle

        can you send us a link to your website?
        That makes it easier for use to help.

        Best!

        marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Before you post

        Use the Search Feature. Maybe there is already a solution to your issue.

        1. Update Lay Theme and all Lay Theme Addons
        2. Disable all Plugins
        3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
        4. Now see if your problem solved itself
        5. Go here, see if your problem is listed here:
        Troubleshooting

        When you post:
        1. Post a link to where the problem is
        2. If the problem is difficult to explain, post screenshots / link to a video to explain it

        Thanks!

        Online Users

        Recent Topics

        • N

          website blank.

        • S

          Theme crashed - because of Polylang?

        • S

          New fade-in / opacity bug?

        • A

          Unable to update lay theme / to login wp admin

        laytheme.com