Menu icon Foundation
Sticky top bar offset

Using foundation 6.2.2

I'm using data-bar-offset to move content down to match height of a sticky element. The problem is that the sticky element height gets smaller on medium and small devices but I can't find a way of recalculating the offset dynamically.

Does that make sense? Any ideas much appreciated.

 

foundation 6Sticky offset

Using foundation 6.2.2

I'm using data-bar-offset to move content down to match height of a sticky element. The problem is that the sticky element height gets smaller on medium and small devices but I can't find a way of recalculating the offset dynamically.

Does that make sense? Any ideas much appreciated.

 

Tim over 2 years ago

 Did you come up with a solution for this problem @chris?

Chris Fickling over 2 years ago

From what I recall, I set the height 'manually' in CSS for each breakpoint