Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #319894

    Hi there,

    My client would like the header & header meta to turn solid black on sroll down. The current setting is TRANSPARENT GLOSSY which is fine, but on scroll down it goes darker – the client wants this element to go a solid colour ONLY on scroll down.

    Is this possible? I’ve been trying for hours but getting nowhere… :(

    Thanks in advance,

    ps. – link in private content area.

    #321457

    Hi!

    You’d need to detect wether the user is scrolling down or scrolling up, depending on that apply a class to the header element (ex: header-scrolled):
    http://stackoverflow.com/questions/9957860/detect-user-scroll-down-or-scroll-up-in-jquery

    Regards,
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.