Frontpage Forums Magaziner Sticky Header

  • Sticky Header


    aashish pahwa
    Participant

    Can I make the sticky header appear only when the user scrolls up?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #1840

    Hi, this is customization beyond what I can assist with. But, to give you a start, look at the code from Gridzone:

    This is added in scripts.js of the theme: https://pastebin.com/raw/7mCtBQa7

    Then add class=”hide-on-scroll-down” on the header element you want to hide on scroll-down.

    After that, you need to add some CSS to make it disappear.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.

Once you purchase a product from alx.media, you will receive an account and access to the support forums.

Lost Password?