Sticky header on mobile with Beaver themer header

I was trying this solution to make my Beaver Themer header sticky on mobile, but it doesn’t work.

There is this code in the header which I think overrides that… data-sticky-breakpoint=“medium”.

Any ideas on how to fix?

I’d appreciate some feedback on this…