How do you control the amount the header/nav bar shrinks when scrolling down? I like the effect, but I’d prefer a little less shrinkage so users can still read the logo. Can you help? Maybe some Quick CSS perhaps?
Thanks!
Open up wp-content/themes/enfold/js/avia.js and search for
if(st < el_height/2)
{
newH = el_height - st;
header.removeClass('header-scrolled');
}
else
{
newH = el_height/2;
header.addClass('header-scrolled');
}
Replace 2 with a lower value like 1.5 or 1.2 and the menu height should increase accordingly. At the moment Kriesi shrinks the menu height to the half size because of the division by 2.
Again, thanks for the help!