Tagged: CSS
-
AuthorPosts
-
February 20, 2015 at 6:15 pm #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?February 21, 2015 at 6:03 am #399993Hey 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,
RikardFebruary 21, 2015 at 8:51 am #400003Hi 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=105pxFebruary 23, 2015 at 7:31 am #400408Hi!
Maybe reading this thread will solve it for you? https://kriesi.at/support/topic/how-to-increase-header-height/
Regards,
RikardFebruary 23, 2015 at 9:05 am #400445Hi 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.February 23, 2015 at 6:16 pm #400876Hi!
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!
YigitFebruary 25, 2015 at 7:04 am #401870Hi Yigit.
Thank you this exactly what i’m looking for. My question solved.
Thank you again for your work.February 25, 2015 at 5:28 pm #402204Hi!
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 -
AuthorPosts
- The topic ‘Shrinking Header height’ is closed to new replies.