Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #360075

    In Safari when one is scrolling and reaches end of a page at the top or bottom there is a kind of springy-bounce to stop the scrolling. Because of this springy behavor when one scrolls to the top of an Enfold page very fast, a black bar comes down from the top of the browser window and temporarily covers up the header bar. Also, if ‘Shrinking Header’ is checked under ‘Header Behavior’, the logo also zooms up to about 200% when this happens.
    If you are using Safari, you can see this in the Enfold demo here: http://kriesi.at/themes/enfold/
    (Or also at http://kriesi.at)

    Now, I don’t actually mind springy-scrolling part, because I think users have gotten used to it. What bothers me is:
    1. That the menu gets covered over for an instant. I think some users will see this as a mistake.
    2. The logo zoom might be desired in some cases but definitely not all, so there should be a way to turn this zoom off.

    I have found an example page that handles the boing nicely (not enfold theme but quite similar). Compare how the header of this website acts when you scroll to the top of the page (in Safari):
    http://www.valentino.com/gb

    Is there a way to tame the boing for issues 1 & 2 above?
    ~R

    #360330

    This boing also causes crashing in Enfold on mobile depending on what short codes are on the page, especially when the icon buttons are live with links. I’d like to know if there is a way to prevent this as well

    #360559

    Hi!

    Thank you for using Enfold.

    @R: I’m sorry but I can’ reproduce the issue on safari. Can you please provide a screenshot? The simple header switch is intentional because not all users require fancy animation for headers. If you want the animation on the link that you provided, unfortunately, this falls as a custom work and is beyond the scope of support. Please hire a freelance developer to configure the header.

    @adwbtody: Please provide a link to the actual page with the issue.

    Best regards,
    Ismael

    #360790
    This reply has been marked as private.
    #360798
    This reply has been marked as private.
    #361049

    Hey!

    I cannot reproduce the issue on Safari 8.0 on OS X 10.10. I can see the effect when you scroll up while at the top of the page but it does not stay covered on my end. Which version of Safari are you using?

    Cheers!
    Yigit

    #361109

    Hi Yigit,
    Correct, as I said in the original post it temporarily covers up the menu: In other words it doesn’t stay covered. But it should not get covered at all though, even temporarily because it looks like an error.
    In my opinion either of these solutions would be an acceptable behavior for the header during the bounce:
    A. The menu/header should always be stuck to the top of the browser window, on top of everything, and float above the black bar during the bounce.
    -or-
    B. The menu/header should bounce with the rest of the page as it does in the Mobile Version (the sceenshot in previous post), so the header bar stays below the black bar that descends from above.

    ~R

    #361488

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    #header_main .container, .main_menu ul:first-child > li a { max-height: 88px !important; }

    change the value to match the height of your header. If that does not help, please post the link to your website

    Cheers!
    Yigit

    #361724
    This reply has been marked as private.
    #362400

    Hey!

    Can you please try adding following code to Quick CSS as well

    #header, #header > .container, .logo *, .main_menu ul:first-child > li a { max-height: 88px !important; }

    Regards,
    Yigit

    #362479

    Are you saying it should be like:

    #header_main .container, .main_menu ul:first-child > li a { max-height: 88px !important; }
    #header, #header > .container, .logo *, .main_menu ul:first-child > li a { max-height: 88px !important; }
    

    Or just:

    #header, #header > .container, .logo *, .main_menu ul:first-child > li a { max-height: 88px !important; }
    

    Neither of these permutations work correctly.
    Right now I have the former in my Quick CSS.
    You can check the site to see the effect.
    ~R

    #363161

    Hey!

    Do you mind creating a temporary admin login and posting it here privately?

    Best regards,
    Yigit

    #363552
    This reply has been marked as private.
    #364623

    Hey!

    I have added custom CSS code to bottom of Quick CSS field and it stops scrolling effect but brakes shrinking header functionality. Please check your website

    Cheers!
    Yigit

    #364864

    Sorry, this did not stop the appearance of the black bar during the bounce.
    And it is still covering the navigation.

    I see that your addition does break the shrinking header functionality as you say, but it does not solve any of the issues either.

    Couldn’t this be handled with a properly structured z-index style? Just to keep the navigation floating above the black bar?

    ~R

    #366275

    Hey!

    I have made a comparison with and without following code

    body, html { height: 100%; }

    First without and after i apply the code and refresh the page – http://youtu.be/sv0p6Hc68VY

    Best regards,
    Yigit

    #396415

    Hi Y’all,
    I think I have solved this finally. None of the above CSS fixes worked properly. So I took time and dug through the script to find what was actually causing the “BOING”. The solution is simple and is as follows.

    In avia.js, replace line 1453:

        newH = el_height - st;
    

    with the following:

        if(st > 0){
              newH = el_height - st;
        } else {
              newH = el_height;
        }
    

    This solves the safari-boing and looks a lot better.
    I suggest rolling this small change into future releases of the theme.
    (this was tested on Enfold 3.0.8 in Safari 8.0.3 and Firefox 34.0.5)
    ~R

    #396682

    Hi!

    Thank you for sharing your workaround. I will let Kriesi know about your post and request :) Let us know if you have any other questions or issues!

    Regards,
    Yigit

    #409108

    Hi!

    Great will add the little workaround to the theme :)

    Cheers!
    Kriesi

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Controlling the 'BOiNG'’ is closed to new replies.