Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #392886

    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

    #393019

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.