sticky-kit icon indicating copy to clipboard operation
sticky-kit copied to clipboard

Soon as my nav sticks the content below jumps!

Open sajhd opened this issue 9 years ago • 1 comments

As soon as my nav sticks to the top the content below slightly jumps up behind it! How can this be avoided?

sajhd avatar Nov 05 '16 23:11 sajhd

It basically takes your nav away from the code. So now the element below it thinks it does not exist anymore so it jumps up. Try adding a margin-top to the element as soon as you stick the nav or follow the troubleshoot here: https://github.com/leafo/sticky-kit/wiki/Troubleshooting (very first issue)

lavandongen avatar Nov 18 '16 17:11 lavandongen