Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #399792

    Hello guys.
    Thank you for your work.

    I have a question about Shrinking Header.
    From previous topics i knew that it have a 50% from selected Header Size size.
    How i can change this ratio on 60-40 for example?

    #399993

    Hey prohronus!

    Could you please provide a link to the site so that we can take a closer look? And to clarify; do you want it larger or smaller when it’s shrunken?

    Best regards,
    Rikard

    #400003

    Hi Rikard.

    My site is still in development, so nothing to see.
    I want to make it lager. 70% from selected Header Size size.
    So if in Header Size set 150px, when user start scroll the menu shrink to 70%*150=105px

    #400408

    Hi!

    Maybe reading this thread will solve it for you? https://kriesi.at/support/topic/how-to-increase-header-height/

    Regards,
    Rikard

    #400445

    Hi this not exactly what i’m looking for.
    If setup the custom Header size 150 px and choose: “Shrinking Headr” the menu will shrink to half size (150px / 2) after scrolling.
    i would like to change this ratio, so after user scrolls the menu shrinks to 70% of origin size.

    #400876

    Hi!

    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/2;

    and change it to

     if(st < el_height/1.5)
    	                {
    	                    newH = el_height - st;
    	                    
    	                    av_change_class(header, 'remove', 'header-scrolled');
    	                    //header.removeClass('header-scrolled');
    	                }
    	                else
    	                {
    	                    newH = el_height/1.5;

    Cheers!
    Yigit

    #401870

    Hi Yigit.

    Thank you this exactly what i’m looking for. My question solved.
    Thank you again for your work.

    #402204

    Hi!

    You are welcome, glad we could help :)
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

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

The topic ‘Shrinking Header height’ is closed to new replies.