-
AuthorPosts
-
August 22, 2017 at 1:15 pm #842517
Dear Support,
I have noticed that in the situation:Enfold -> Header -> Header layout -> Header size -> custom pixel value
AND
Enfold -> Header -> Header layout -> Header custom height -> 60px
the shrinking of the header while scrolling down does NOT work. It stops working when the value in “Header custom height” is below 65px. How can I change this behavior?
Thank you for your help.
Best regards,
MD- This topic was modified 7 years, 4 months ago by midudek1.
August 22, 2017 at 2:15 pm #842559Hey midudek1,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaAugust 22, 2017 at 9:42 pm #842788Dear Victoria,
It will be quite tricky as the blog is not published yet :( Is there another way to pass you relevant information? What do you need?Thank you for your time!
Best regards,
MDAugust 23, 2017 at 8:38 am #842918Hi,
The credentials and website link will be essential to check this issue closer. You can use this plugin to help you: https://wordpress.org/plugins/temporary-login-without-password/
Best regards,
John TorvikAugust 23, 2017 at 4:36 pm #843156This reply has been marked as private.August 25, 2017 at 1:01 pm #843926Hi MD,
I think 60px is already too small for the header and it does not shrink passed that, so these two conditions are mutually exclusive. What I am seeing is the page scrolling and the menu disappearing.
Best regards,
VictoriaAugust 27, 2017 at 7:25 pm #844550Dear Victoria,
Yes … this is what I have written in my first post :) Shrinking stops working when the value in “Header custom height” is below 65px.How this behavior can be changed?
Thank you for your help.
Best regards,
MDSeptember 1, 2017 at 7:16 am #846636Hi,
The shrinking behavior is disabled by default. You can find it in the functions-enfold.php file.
//if the custom height is less than 70 shrinking doesnt really work if($header['header_size'] == 'custom' && (int) $header['header_custom_size'] < 65) $header['header_shrinking'] = 'disabled';
Best regards,
IsmaelSeptember 6, 2017 at 5:42 pm #848779Dear Ismael,
Thank! This is what I was looking for.Btw. the comment does not match the real code + in addition the JS
“set_height = function()” in avia.js is messed up and it is not
written in general way which means it does not work correctly if you
choose different values that are hardcoded in Enfold.I have corrected that … see below. Enfold has many flaws and I am
really disappointed with its quality.Thank you for your help. You can close this topic.
Best regards,
MDfunction avia_header_size() { (...) set_height = function() { var st = win.scrollTop(), newH = 0, st_real = st; var shrinking_start_position = 200; var shrinking_stop_position = shrinking_start_position + 100; var el_height_shrinked = el_height * 0.5; if(unsticktop) st -= topbar_height; if(st < 0) st = 0; if(shrinking && !isMobile) { newH = el_height; if(st > shrinking_start_position) { newH = (1 - ((st - shrinking_start_position) / (shrinking_stop_position - shrinking_start_position))) * el_height av_change_class(header, 'remove', 'header-scrolled'); //header.removeClass('header-scrolled'); } if(newH < el_height_shrinked) { newH = el_height_shrinked; //header.addClass('header-scrolled'); av_change_class(header, 'add', 'header-scrolled'); } if(st < 2 * shrinking_stop_position) { av_change_class(header, 'remove', 'header-scrolled-full'); } else { av_change_class(header, 'add', 'header-scrolled-full'); } elements.css({'height': newH + 'px', 'lineHeight': newH + 'px'}); logo.css({'maxHeight': newH + 'px'}); } if(unsticktop.length) { if( st <= 0) { if(st_real <= 0) st_real = 0; unsticktop.css({"margin-top":"-"+st_real+"px"}); } else { unsticktop.css({"margin-top":"-"+topbar_height+"px"}); } } if(transparent) { if(st > 50) { //header.removeClass('av_header_transparency'); av_change_class(header, 'remove', 'av_header_transparency'); } else { //header.addClass('av_header_transparency'); av_change_class(header, 'add', 'av_header_transparency'); } } } (...) }
- This reply was modified 7 years, 3 months ago by midudek1.
September 7, 2017 at 4:50 am #848941Hi,
I have corrected that … see below. Enfold has many flaws and I am
really disappointed with its quality.What flaws? Could you please explain it so that we can improve it?
Best regards,
IsmaelSeptember 12, 2017 at 11:47 pm #851281Dear Ismael,
There are plenty of flaws in the theme unfortunately …1.) try to use the shrinking menu with custom header size 60px … the shrinking will not work and source code has to be changed (no to mention comment is not valid with the actual source code) … but even when you change the code the shrinking animation is not written in a general manner so it will animate it wrongly that is why I pasted code above
2.) image with hot spots does not work with default WP editor
3.) shortcodes behavior is not consistentetc etc if you are interested in details just read my current open threads.
Best regards,
MDSeptember 13, 2017 at 7:49 am #851412Hi,
1.) As I stated before, the shrinking header is disabled if the header height is less than 70px.
// https://kriesi.at/support/topic/shrinking-header-does-not-work/#post-846636
2.) This is currently under investigation. The element is working properly in the advance layout builder and if you need it on the default editor, try to switch the builder to debug mode so that you can copy the shortcodes.
// http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
3.) Could you please elaborate on it further? Which shortcodes are “inconsistent”?
Best regards,
IsmaelSeptember 18, 2017 at 6:24 pm #853531Dear Ismael,
Answering your questions1.) Why are you limiting user? It should be up to the user to chose the values and all the function code should be written in a way that it should be general and NOT specific to settings.
3.) You already know (you replied) about which issue I am talk about.
Best regards,
MDSeptember 19, 2017 at 7:24 am #853733Hi,
1.) Why are you limiting user? It should be up to the user to chose the values and all the function code should be written in a way that it should be general and NOT specific to settings.
1.) We pointed you to the script that limits the shrinking header. You can do with it whatever you wish.
// https://kriesi.at/support/topic/shrinking-header-does-not-work/#post-846636
Best regards,
IsmaelSeptember 19, 2017 at 5:55 pm #853971Dear Ismael,
Yes … and I did change the value … but then I have learned that the functions included in Enfold work only in specific situations, they are not written in a general manner … even so simple things like changing size of elements.Lets finish the discussion Ismael as it does not go anywhere.
Best regards,
MDSeptember 20, 2017 at 7:28 am #854213Hi,
but then I have learned that the functions included in Enfold work only in specific situations, they are not written in a general manner … even so simple things like changing size of elements.
We would be happy to hear your suggestions or advice regarding these functions. Please contact Kriesi in the following link or post the suggestions/improvements directly in the forum.
Best regards,
IsmaelSeptember 24, 2017 at 9:42 pm #856244Dear Ismael,
(…) or post the suggestions/improvements directly in the forum.
and what I have been doing past 2 months?!
I am sorry I am out of my patience. I am frustrated and disappointed about Enfold. It is very unprofessional product.
Please close this topic.
Best regards,
MDSeptember 25, 2017 at 7:06 am #856348Hi,
I’m sorry if we can’t help you better. You posted the code above but you didn’t explain the changes. We also explained why the shrinking header is not working when the header height reaches a specific value. And regarding the hotspot, we found the issue and the patch is going to be included in the latest version of the theme.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.