Home › Forums › WoodMart support forum › Menu issues on mobile with new categories
Menu issues on mobile with new categories
- This topic has 14 replies, 4 voices, and was last updated 3 years, 8 months ago by
Artem Temos.
-
AuthorPosts
-
June 23, 2021 at 4:06 am #301612
owlnestParticipantHi there,
Adding new categories to the menu and it’s used as mobile menu too. It shows empty images placeholders and the category names are repeating. Not sure if it starts after the latest theme upgrade. Could you please help? I atached the screen FYI.
Attachments:
You must be logged in to view attached files.June 23, 2021 at 8:41 am #301688
Aizaz Imtiaz AwanKeymasterHello,
I saw the screenshot you attached.
Please create a new menu from Appearance >> Menus and set it as the categories menu.
Then you can set it as the categories menu in the mobile header from Woodmart >> Header Builder.
Screenshot for Clarification: https://gyazo.com/2708a06d0a48950f76ef4be7ca233e28
Best Regards
June 23, 2021 at 2:22 pm #301870
owlnestParticipantHello,
Thank you for replying. As per your previous reply, I created a category menu and assigned it to the mobile menu in the header builder. It didn’t fix.
To clarify, the real issue is that there categories repeating themselves with empty image placeholder beside each of them. I attached a screen here hightlighting the issues for your information. Please help to check.
Thanks and Regards
WillAttachments:
You must be logged in to view attached files.June 23, 2021 at 2:27 pm #301877
Eric WatsonParticipantThis issue was fixed in the recent theme hotfix update. Please try to update your theme to the latest version.
Kind Regards
June 23, 2021 at 11:47 pm #302013
owlnestParticipantThanks Eric,
When updating theme, do I need to update both main and chid theme, or just the main theme? I use the child theme at moment.
Kind regardsJune 24, 2021 at 12:50 am #302016
owlnestParticipantTo update, I have updated both the theme and child theme, this mobile menu issue didn’t fix.
June 24, 2021 at 7:48 am #302080
Aizaz Imtiaz AwanKeymasterHello,
Please provide the admin panel login details of the website to check it myself and help you out accordingly.
Best Regards
June 24, 2021 at 12:20 pm #302184
owlnestParticipantHi there,
Please let me know.
regards
WillJune 24, 2021 at 1:07 pm #302202
Aizaz Imtiaz AwanKeymasterHello,
I have tried to visit your website but was unable to visit.
Screenshot for Clarification: https://gyazo.com/6bfea4d8796e1cf367afbc2169ff39e5
Please make sure that your website is working to let me assist you further.
Best Regards
June 24, 2021 at 2:05 pm #302213
owlnestParticipantPlease try again now.
June 25, 2021 at 7:14 am #302352
Aizaz Imtiaz AwanKeymasterHello,
I have logged into your website. And you are using the 6.1.1 Theme version.
Please download the latest version 6.1.2 from your envato account and update the Theme using FTP. https://xtemos.com/docs/woodmart/update-theme-2/
Then clear cache and check back.
Best Regards
June 25, 2021 at 7:52 am #302356
owlnestParticipantThank you for helping.
I have upgraded the theme to 6.1.2. However, it didn’t fix the mobile menu. Any other idea?Regards
June 25, 2021 at 8:51 am #302373
Artem TemosKeymasterHello,
It seems to be a bug in our theme with mobile categories only. Tyr to edit the file
wp-content/themes/woodmart/inc/functions.php
and replace the following code$image_output .= '<img src="' . esc_url( $icon_data ) . '" alt="' . esc_attr( $item->title ) . '" ' . $icon_attrs . ' class="wd-nav-img' . woodmart_get_old_classes( ' category-icon' ) . '" />';
with this one
if ( $icon_data ) { $image_output .= '<img src="' . esc_url( $icon_data ) . '" alt="' . esc_attr( $item->title ) . '" ' . $icon_attrs . ' class="wd-nav-img' . woodmart_get_old_classes( ' category-icon' ) . '" />'; }
Kind Regards
June 25, 2021 at 10:04 am #302417
owlnestParticipantHi there,
This fixed the issue. Thank you very much!
WJune 25, 2021 at 11:10 am #302448
Artem TemosKeymasterGreat, you are welcome!
-
AuthorPosts
The topic ‘Menu issues on mobile with new categories’ is closed to new replies.
- You must be logged in to create new topics. Login / Register