Hi,
I am tiring to control the header/logo resize when scrolling down. I edited the avia.js like described here “https://kriesi.at/support/topic/enfold-logo-resize/” and it worked but after the recent theme update editing the JS file doesn’t effect the header any more.
Any ideas?
Yaron
Hey yaron!
Please go to Enfold/js folder and open avia.js file and find
if(st < el_height/2)
{
newH = el_height - st;
av_change_class(header, 'remove', 'header-scrolled');
//header.removeClass('header-scrolled');
}
else
{
newH = el_height/1.5;
and change it to
if(st < el_height/2)
{
newH = el_height - st;
av_change_class(header, 'remove', 'header-scrolled');
//header.removeClass('header-scrolled');
}
else
{
newH = el_height/1.5;
It does work fine on my local installation
Cheers!
Yigit