• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 08.08.23, 14:58
  • Opened by: João C.

Ticket #24879 - header-sticky on mobile version (not amp)

I can’t sticky the header on mobile version.
on desktop the class header-sticky is working but on mobile no.

Can you help me?


Fred 08 Aug 2023, 22:12

Hi, João C..
Sticky header is not available for mobile because of small space.
The only way to enable that is to edit the file


find the line

const isSticky = window.innerWidth > 1024;

and replace it with

const isSticky = window.innerWidth > 0;