• Resolved brandondrl

    (@brandondrl)


    Hello, I hope you are very well.

    In my website I use the yootheme theme, and since I updated to version 3.0 (https://yootheme.com/support/yootheme-pro/changelog) the megamenu stopped working correctly.

    Wordpress version: 6.0.3

    This is how it looked before upgrading: https://imgur.com/a/msG44Op
    This is how it looks now after updating yootheme: https://imgur.com/a/TrVyaiy

    I have not changed any settings, I followed the recommendation to make a child theme and it was working 10/10 until I updated the theme.

    Can you please help me determine what is wrong or what I need to adjust to get it working again?

    I remain attentive to your answer thank you very much.

    • This topic was modified 2 years, 1 month ago by brandondrl.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi brandon,

    I’m sorry but I don’t have access to yootheme pro, so I can’t investigate this easily.

    I’ve inspected the navbar and it looks like you’ve added a custom HTML widget to output the WhatsApp icon. Can you do the same thing to output the menu using the shortcode?

    https://www.megamenu.com/documentation/shortcode/

    Regards,
    Tom

    Thread Starter brandondrl

    (@brandondrl)

    Thank you very much for the answer, if you want I could create a temporary access for you to enter to check what is going wrong? you would only have to tell me where I send you the credentials.

    Additionally, I tried the option to place the widget and the same thing happens, I understand that it is not a rendering problem but rather a problem with the styles, it seems that they conflict: https://imgur.com/a/X5ekTxj

    Thanks, in advance I remain attentive.

    Thread Starter brandondrl

    (@brandondrl)

    Do you have time to view this issue, please?
    Sorry for the inconvenience.

    I remain attentive. Thank you in advance.

    Plugin Author megamenu

    (@megamenu)

    Hi Brandon,

    I check the free forums once per day, in the mornings Mon – Wed and afternoons on Thursday and Friday. We monitor Pro support tickets Mon – Friday 9 – 5 (UK time).

    I cannot ask you to post access credentials here, that is against the forum rules. I’ve checked your site and I see you have menus set up now.

    Please go to Mega Menu > Menu Locations. Expand the menu location in question and go to the Display Options tab, in there, copy the menu shortcode. Next, go to wherever you have added the WhatsApp icon to your header (looking at the code, it looks like a custom HTML widget), then paste the menu shortcode into there – does that work?

    Regards,
    Tom

    Plugin Author megamenu

    (@megamenu)

    Hi Brandon,

    I’m wondering if there has been some confusion here. Are you sure you were using Max Mega Menu (the mega menu plugin that these forums are for) in the first place? I do not see it installed on your site. I see you now have your menus working (as they look in your initial screenshot), using the options built into YooTheme.

    Regards,
    Tom

    Thread Starter brandondrl

    (@brandondrl)

    Hello thank you very much for your reply, and sorry for the inconvenience.

    Indeed I had to deactivate the plugin and test with the menu of the template temporarily because I must solve the problem as soon as possible.

    Regarding the shortcode I copied the shortcode with the brackets format ‘[ ]’ I pasted it in another html widget in the position of the whatsapp button and indeed it renders the same, but it does not take the styles as such, no css class of “mega menu” is in itself that the problem I have.

    I had forgotten your warning that when updating the Yootheme theme you must edit this file vendor/yootheme/theme-wordpress-widgets/src/WidgetsListener.php which I also proceeded to edit again, delete all the cache, try in incognito mode and the problem persists.

    Finally, if it could serve as a useful tip: I tried to copy the PHP shortcode (https://imgur.com/a/qqwX6WB) and inject it in the header.php of the theme just where it opens <body>. Being there the problem is solved since besides rendering it loads the styles and the CSS classes of mega menu, however, I could not find a way to place it on the right side as the screenshot of the last message (https://imgur.com/a/msG44Op), when placing it in the body tag the only place it takes is above the logo despite specifying the position “header” in the parameter “theme_location”.

    I hope it helps and can give you an idea to help me to edit the files of my installation and make it work, thanks in advance.

    Plugin Author megamenu

    (@megamenu)

    Hi Brandon,

    OK it sounds like you need to find the correct place in the theme files to paste the PHP code, and it should work?

    You will need to search your theme files and try to find any of the classes pointed out here:

    2022-10-21_12-53-43

    That should locate the theme template file to edit. If you cannot find it, I would suggest contacting YooTheme, as they will be in the right position to tell you which file to change.

    Regards,
    Tom

    Thread Starter brandondrl

    (@brandondrl)

    Ok thank you very much for the suggestion and for your help. Have a nice day

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Mega menu doesn’t work after update’ is closed to new replies.