Faedran Posted February 29 Share Posted February 29 I succeeded in making a shrinking header on scroll but now the content below "falls up" when the header shrinks. I have tried setting .content-wrapper position to absolute which gives me the effect i want, but then i get a whole lot of other problems like content bleeding into the footer and the background no longer being sticky. Does anyone know the correct way to fix this problem? I don't want anything below the header to be affected by the shrinking of the header. Thanks in advance Link to comment
Solution Faedran Posted February 29 Author Solution Share Posted February 29 for anyone with the same problem: adding following css did the trick .page-section{ padding-top:0!important; } also to correct the grid you might want to add .fluid-engine{ padding-top:35vh!important; } replace 35vh according to needs. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment