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. How can I adjust HOW the menu bar disappears and reappears when I scroll up and down?

How can I adjust HOW the menu bar disappears and reappears when I scroll up and down?

Scheduled Pinned Locked Moved General Discussion
4 Posts 3 Posters 263 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.
  • T Offline
    T Offline
    tinjessen
    wrote on last edited by
    #1

    The disappearance and reappearance of the menu bar when I scroll up and down is somehow animated, but I would like the menu bar to simply disappear and reappear in the same speed like I am scrolling. I hope this does not sound too cryptic. On this page the menu bar actually behaves like I would want it for my site, too. Any ideas how to do this?

    1 Reply Last reply
    0
    • edgrbnzE Offline
      edgrbnzE Offline
      edgrbnz
      wrote on last edited by
      #2

      Do you have a link to your site?

      You could kill the animation all together. Since this is not what you seem to be aiming for you might need some jquery to bind the navbar to the scroll event. But that’s nothing I’m too familiar with.

      @mariusjopen might be able to give some hints how to go about this.

      ✦ ✦ ✦

      T 1 Reply Last reply
      0
      • edgrbnzE edgrbnz

        Do you have a link to your site?

        You could kill the animation all together. Since this is not what you seem to be aiming for you might need some jquery to bind the navbar to the scroll event. But that’s nothing I’m too familiar with.

        @mariusjopen might be able to give some hints how to go about this.

        T Offline
        T Offline
        tinjessen
        wrote on last edited by
        #3

        @edgrbnz I am sorry, but my website is currently not visible (password protected) as I do not want it to be visible online while I am working on it... However, I believe it is not necessary to see it, as it should be quite clear what I mean. You are probably right, that I just need to kill animation all together, but I really don't know how to do this. Nevertheless, thx for your answer!

        1 Reply Last reply
        0
        • mariusjopenM Offline
          mariusjopenM Offline
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

          Dear @tinjessen
          you need to code that yourself with jQuery. Pretty simple.

          First you hide the menu bar like @edgrbnz proposed.

          Then you write a small jQuery script which shows or removes it, depending on the scroll-direction.

          I also did that once for a project quite some time ago and was able to find many solutions with a quick Google search.

          Best!

          Marius

          www.mariusjopen.world

          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
          S
          sebagaga
          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