Streaming live at 10am (PST)

Navbar show/hide on scroll up down


#1

Continuing the discussion from Navbar show/hide on scroll up/don:

Hi, the provided JS solution (kindly provided by @samliew) to hide/show the navbar on scroll up/down works very well! Now, I was wondering if someone could provide a code snippet to disable the hide/show feature on mobile devices.

I tried to hide the navbar on mobile (display: none) but the JS seems to have more power than the CSS…

Thanks.
Alex


Here is my public share link: LINK
(how to access public share link)


#2

You are right. That will not work since the styles are being added inline programmatically by the code which takes priority over everything else.

What’s the published version link?


Also Alex.

#3

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.