Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #483777

    Old ticket
    This is in relation to this thread: https://kriesi.at/support/topic/move-right-end-menu-of-fullwidth-menu-to-the-far-right/#post-482738 . It was closed so I had to open a new one.

    Here is the issue:
    I have a little problem. I noticed that when I click on say “KEY FEATURES” as should below “OVERVIEW” get highlighted. Also, I noticed that when I scroll down the page even when I am in “KEY FEATURES” section “OVERVIEW” still gets highlighted. This issue is same across the entire page. Please kindly check it and help out.

    Screenshot url: http://i.imgur.com/1MG6tsj.png

    Login details to my site in n private section.

    Regards,
    Gigoz

    #484727

    Hi,

    Can you please create me a temporary FTP / SFTP account? post it here as a private reply.

    Regards,
    Josue

    #484736

    Hi Josue,

    As requested ftp detail in private. Kindly check it out.

    #484793

    Hey!

    Check it now, i’ve changed line 268 in avia.js from:

    offset: (parseInt($('.html_header_sticky #main').data('scroll-offset'), 10)) + 52 + ($(".html_header_sticky #header_main_alternate").outerHeight()) + ($(".html_header_sticky.html_header_unstick_top_disabled #header_meta").outerHeight()) + 1 + parseInt($('html').css('margin-top'),10),
    

    To:

    offset: 52,
    

    The height of the fullwidth submenu.

    Regards,
    Josue

    #484802

    Josue,
    Thank you very much fr your help. It is working perfectly. Was the changes applied to the child theme?
    Gigoz

    #484883

    No, but you can have a custom avia.js in your child theme directory by using this code in functions.php (of the child theme):

    function change_aviajs() {
       wp_dequeue_script( 'avia-default' );
       wp_enqueue_script( 'avia-default-child', get_stylesheet_directory_uri().'/js/avia.js', array('jquery'), 2, true );
    }
    add_action( 'wp_enqueue_scripts', 'change_aviajs', 100 );
    

    Regards,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.