Okay
  Public Ticket #2585009
Menu Effect On Scroll not working the right way.
Closed

Comments

  • Christophe Valtin started the conversation

    Hi,
    When scrolling a page in the Apex theme demo site, as soon as the first item on a page reaches the menu area, it immediately reduces to mini menu.

    I use the Apex theme configured so that it works the same way, but it doesn't. The reduction to mini menu doesn't happen immediately, but once the content of a scrolled page reaches the top of the window, this content then blends with the logo and navigation of the site, before being covered by the mini menu.
    I guess this is not a bug but a configuration problem. I haven't found where this can be fixed.

    Thanks for your help.
    Christophe

  •  1,114
    Max replied

    Hi,

    could you please elaborate on how to reproduce this issue on my end so I can exactly see the behavior you describe?

    Thanks,


    Max from the Sonaar.io Crew

  •   Christophe Valtin replied privately
  •  1,114
    Max replied

    Hi,

    the scroll behavior is based on the amount of scroll heigh availab le in the window.

    If you resize your window, it will react differently. See video I have recorded.

    Hope its more clear now.

    You can disable the mini effect by going to wp-admin > theme options > menu options.


    Thanks,


    Max from the Sonaar.io Crew

  • Christophe Valtin replied

    Maxime,

    Your answer is strange and what video are you talking about?
    The elegant functionality of this top menu is one of the main reasons why I bought this theme.

    I just repeat that the way it works on my own site is not consistent with the Apex theme demo site.
    I'm pretty sure I didn't change anything in the site settings to make it work differently. So no, I just don't want to disable the mini menu effect.

    This malfunction makes the theme unusable for me because, depending on the screen size or display size of the browser, some visitors will see the top of the page contents mixed with the top navigation menu.

    So thank you for really technically answering my question.

    Christophe

  •  1,114
    Max replied

    Sorry I've forgot to attach the video i was refering to. see here: https://d.pr/v/mJLy3L

    Thanks,


    Max from the Sonaar.io Crew

  •   Christophe Valtin replied privately
  •  1,114
    Max replied

    Hi,

    you can modify scrolloffset from 150 to any value you'd like by modifying the file /classic-menu/js/classic-min.js 

    see screenshot: https://d.pr/i/zTsPIW

    there are 2 value 150 to change so make sure you change both value 150 to your own value.

    Please note that the correct way of modifying the file is by creating a child theme, dequeue and reenqueue the js files so you will be able to update the theme without overridding your change.

    Providing support to enqueue/dequeue our files to customize your website with personale needs is beyond the scope of our free support. if you need help, we do offer a service for this. You can learn more here: https://sonaar.io/service/website-customization-service/

    Thanks,


    Max from the Sonaar.io Crew

  • Christophe Valtin replied

    Thanks Maxime,

    Everything's fine now with a 60 px setting.
    Have a good day.
    Christophe

  •  1,114
    Max replied

    No problem,

    If you have not enqueue this in a custom JS, dont forget to change this value everytime you update the theme or your change will be overriden everytime.

    Thanks,


    Max from the Sonaar.io Crew