Skip to main content
Question

Sticky Header with Accessible Login Button – How to Implement?

  • January 15, 2025
  • 1 reply
  • 9 views

  • Contributor ⭐️⭐️⭐️

Hi, has anyone been able to make the header follow the page as you scroll down? For example, I want the 'Login' button on the header to remain accessible even as a guest scrolls through the page.
 

1 reply

Kenneth R
Forum|alt.badge.img+5
  • Expert ⭐️⭐️
  • January 21, 2025

Hi ​@Deja - this should indeed be possible, but it would definitely require some custom front-end scripting, either using the ‘sticky’ CSS property or some JavaScript.  I don’t have example code for you but perhaps another member will chime-in, and otherwise GPT or another helpful AI model can likely get you quite far.