Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. One Page Anchor Links Not working on mobile

One Page Anchor Links Not working on mobile

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 65 Views
  • 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.
  • B Offline
    B Offline
    bivisual
    wrote on last edited by
    #1

    Once again this issue with not working anchor links on mobile menue views. Getting a weird script error about an offset not defined, but I can not figure out what it is exactly:

    "Uncaught TypeError: cn.find(...).offset() is undefined"

    Site is already live and help is much appreciated. thx.
    https://ghostfest.de/

    1 Reply Last reply
    0
    • RichardR Offline
      RichardR Offline
      Richard
      Global Moderator
      wrote on last edited by
      #2

      Dear @bivisual

      best wishes

      Screen Shot 2021-08-19 at 3.58.31 PM.png
      There is an unusually high amount of errors in the
      console, could you please make sure of the following:

      Wordpress, Lay Theme & Laytheme's Addons are all up to date ?

      Any custom CSS or JS that may interfere is temporarily removed.

      Any third-party plugins are de-activated to see if this resolves the issue.

      If using a WordPress Cache plugin, disable it or clear your cache.

      License key not activated - (in website blank situations or button not available)

      If your WordPress Dashboard shows a warning "PHP Update required”
 Please update your PHP version in your webhost control panel.

      Possibly your website is running PHP 8.0 this has been known in some cases to cause issue.

      Also to be sure when setting up the Anchor Link:

      The url path is indeed linked to the ID # of an Element in which to scroll to. No Custom Code is being applied to change the behaviour of the Anchor scroll that could be interfering .

      Screen Shot 2021-08-19 at 3.54.58 PM.png

      Screen Shot 2021-08-19 at 3.56.50 PM.png


      Talk soon 🌝
      Richard
      B 1 Reply Last reply
      0
      • RichardR Richard

        Dear @bivisual

        best wishes

        Screen Shot 2021-08-19 at 3.58.31 PM.png
        There is an unusually high amount of errors in the
        console, could you please make sure of the following:

        Wordpress, Lay Theme & Laytheme's Addons are all up to date ?

        Any custom CSS or JS that may interfere is temporarily removed.

        Any third-party plugins are de-activated to see if this resolves the issue.

        If using a WordPress Cache plugin, disable it or clear your cache.

        License key not activated - (in website blank situations or button not available)

        If your WordPress Dashboard shows a warning "PHP Update required”
 Please update your PHP version in your webhost control panel.

        Possibly your website is running PHP 8.0 this has been known in some cases to cause issue.

        Also to be sure when setting up the Anchor Link:

        The url path is indeed linked to the ID # of an Element in which to scroll to. No Custom Code is being applied to change the behaviour of the Anchor scroll that could be interfering .

        Screen Shot 2021-08-19 at 3.54.58 PM.png

        Screen Shot 2021-08-19 at 3.56.50 PM.png


        Talk soon 🌝
        Richard
        B Offline
        B Offline
        bivisual
        wrote on last edited by
        #3

        @Richard

        Thanks Richard, I have finally found the issue. And it's not bug rather a simple issue that I set up the IDs for the Desktop Layout and they have not been synced to the Phone Layout.

        So all is good. Thx.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        I also code custom websites or custom Lay features.
        💿 Email me here: 💿
        info@laytheme.com

        Before you post:
        1. When using a WordPress Cache plugin, disable it or clear your cache.
        2. Update Lay Theme and all Lay Theme Addons
        3. Disable all Plugins
        4. 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:
        1. Post a link to where the problem is
        2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
        3. If the problem is difficult to explain, post screenshots / link to a video to explain it
        Online Users
        C
        CineST
        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
        laytheme.com
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Search