Hi,
we have a homepage with three full-screen background video sections one after another. The first video section covers the full screen top to bottom, the 2nd and 3rd full-screen sections are offset by the depth of the nav header, so they are ending up cutoff at the bottom by 120px. So the full-page setting is not taking the header depth into account after the nav turns from transparent to opaque.
we would like for the 2nd and 3rd video sections to include the header height correctly, and end at the bottom of the page instead of being cut off.
Hey unclemurray!
Thank you for using Enfold.
I think if we add the header height to the scroll target, it’ll be fix. For a temporary fix, edit js > avia.js then find this code around line 730:
fixedMainPadding = parseInt($('html').css('margin-top'),10);
Replace it with:
var $headerh = parseInt($header.outerHeight(),10) || 0;
fixedMainPadding = parseInt($('html').css('margin-top'),10) - $headerh;
Remove browser cache then reload the page. The scroll target should be lower than it used to.
Best regards,
Ismael
Hello,
I have the same problem, but unfortunately the solution does not work for me.
Do you have any idea why?
The website is: https://click2stock.com/
Thank You!
Gerke