How to fix cap at the best personal Finance (buggy)?

Did the application class .when best personal Finance fixed caps with a view to its fixation.
But position: fixed those units that go after the header, just as it climbed under it, the result is an ugly jump at the best personal Finance. How to fix it?
July 9th 19 at 10:18
4 answers
July 9th 19 at 10:20
To make a smooth appearance of caps. It's not the blocks under it, climb up, and the cap appears dramatically.
July 9th 19 at 10:22
make a thread block after the cap, which has a height the same as cap in best personal Finance.
.header:not(.fixed) + .fix {
height: 0;
.header.fixed + .fix {
height: 140px;
July 9th 19 at 10:24
Thanks, corrected) - Nora_Schmitt19 commented on July 9th 19 at 10:27
July 9th 19 at 10:26
Understood, it was necessary to set padding-top on the next element..

Find more questions by tags CSSjQueryHTML