Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. active menu item not working

active menu item not working

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 109 Views 2 Watching
  • 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.
  • E Offline
    E Offline
    eev
    wrote last edited by eev
    #1

    Hi, I’m using Lay Theme for a Onepager site.
    I want the active menu item to be underlined. No problem at first, worked fine on local host. Not sure when exactly the problem started, but now on live site it doesn't work anymore.

    Everything works fine (anchors, smooth scroll, layout), but the active menu item does not update while scrolling. Disabling custom code or plugins doesn't help. It seems to always underline the anchor on which I reload the page. Hover works fine as well. Same problem in firefox, chorme, safari.

    Any idea what would cause this?
    Site is currently protected by password, but if needed I can share it. Thanks!
    Eva

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote last edited by
      #2

      hi eva, thanks for the detailed description. the active menu point underline on scroll is controlled by a setting in lay options → anchor scroll → "use menu point active style for menu points that are scrolled to". can you check if that's turned on?

      if it is, the next thing to check is custom code — go to lay options → custom html and css → turn off all custom code, save, and test again. sometimes a stray html tag or css rule can break the scroll detection.

      if neither helps, can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com? i'll take a look.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        eev
        wrote last edited by
        #3

        Hi Armin
        Thanks for the quick answer :)
        Yes, everything ist turned on correctly, I tried to turn it off and on once again, but it's still not working. If turned off, the underline vanishes all together (which is correct), so it does something.
        The same with custom code.
        I'll send you a Mail.

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


        For 1on1 paid Lay Theme Coaching, contact: audrey@cyberslayers.work.

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

        Our Web Development company: 100k.studio

        Want to tip me? https://www.paypal.com/paypalme/arminunruh

        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
        L
        LLLLLLLLL
        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