Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #870793

    I had a function that added a class “hide-menu-item” to a certain menu item.
    Since the last theme update (I guess) it doesn’t work anymore for the MOBILE MENU. For desktop it still works.

    With the old Enfold theme everything works like charm :(

    `function my_special_nav_class( $classes, $item ) {
    global $MenuItemName;
    if ( $item->title == $MenuItemName AND ( !isset( $_COOKIE[“show_cart_menu_item”] ) OR ( $_COOKIE[“show_cart_menu_item”] == “false” ) )
    ){
    $classes[] = ‘hide-menu-item’;
    }
    return $classes;
    }
    add_filter( ‘nav_menu_css_class’, ‘my_special_nav_class’, 10, 2 );

    #872008

    Hello @Support Team,

    is somebody here to get back to me?
    We bought the Kriesi Thema already like 10-20 times. So it would be great to get some support!

    Thank you,
    Benjamin

    #872011

    Hi,

    Sorry for the late response. Can you try to update it to the latest version: 4.2 https://kriesi.at/archives/the-complete-guide-to-updating-enfold
    Make sure to backup first before updating. Let us know if this helps.

    Best regards,
    Nikko

    #872046

    Hi,

    just updated the theme. Didn’t help.

    Best,
    Benjamin

    #872454

    Hi,

    Thank you for using our theme.

    This is a bug we are currently working on to find a solution. We will let you know, as soon as we have a solution for it.

    Sorry for that and thank you for your patience.

    Best regards,
    Günter

    #872647

    Thank you

    #873049

    Hey!

    I fixed the problem and it will be in the next update.

    Meanwhile please update file enfold\js\avia.js. Please replace the complete content of this file with the RAW paste content of

    https://pastebin.com/sqVYJvw1

    This link is valid for one month. Make sure to make a copy of the original file to have a fallback and that you are using Enfold 4.2.
    Do not forget to clear browser and server cache after the update.

    If you have problem we can do the update for you, please give us FTP access to your server.

    Cheers!
    Günter

    #908330

    Hey Günther,

    I updated the theme a few days ago and it’s not working anymore. It may have appeared that I accidentally overwrote the fix that you made.
    Could you give me access to the pastebin again? it’s urgent :(

    Best,
    Benjamin

    #908398

    Hi Benjamin,

    The code is in the theme already. What do you mean by it’s not working? Is the website down or?

    Best regards,
    Victoria

    #908763

    It was a caching problem. Sorry about that.

    Thank you!

    #908928

    Hi,

    Great, glad you got it working. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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