Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Sticky Block



  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0

You can add a JavaScript code to add position fixed when the top of the element reaches the top of the browser.


I tried with position sticky but the scenarios did not work

Link to comment
  • 0

@sorca_marian ok great because that would be extremely helpful! I am specifically trying to stick the A-Z element on the first section of this page (https://thehighguide.squarespace.com/glossary-a pw: guide) so it sticks at the top over the other section below it. I've make sticky elements within the same section, but never over other sections.

But i've found that Jquery is extremely heavy and weights down the website. Thats why I asked about vanilla javascript. Any advice would be helpful, Thanks!

Edited by dearnaomichan
Link to comment
  • 0

@dearnaomichan Yes, it is possible wit vanilla JavaScript.

It would take me a few hours to achieve the result and for that amount of hours I request to be hired on Upwork.

Edited by sorca_marian
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...