How to Implement a Sticky Header in Oxygen Builderby@grezvany13
997 reads

How to Implement a Sticky Header in Oxygen Builder

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

This snippet allows you to make (almost) any header sticky on the page which pops-up when you scroll down, but hides itself when you. you scroll up. And as a bonus a step-by-step guide on how to implement this in Oxygen Builder. It’s simple, yet a very fancy, way to prevent your header taking up space which can be used for displaying your content. This snippet contains a small piece of CSS and a couple of lines of Javascript. The last step is to add some Javascript which will handle the showing and hiding of the header when scrolling up and down.

Company Mentioned

Mention Thumbnail
featured image - How to Implement a Sticky Header in Oxygen Builder
Johan de Jong HackerNoon profile picture

@grezvany13

Johan de Jong


Receive Stories from @grezvany13


Credibility

react to story with heart
Johan de Jong HackerNoon profile picture
by Johan de Jong @grezvany13.Johan de Jong, a lazy programmer with experience in WordPress, Laravel and Full-stack Development
Check my Website

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa