Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #27193

    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?



    Open up wp-content/themes/enfold/js/avia.js and search for

    if(st < el_height/2)
    newH = el_height - st;
    newH = el_height/2;

    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!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Controling the size of shrinking header’ is closed to new replies.