Home Forums WoodMart support forum Menu issues on mobile with new categories

Menu issues on mobile with new categories

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #301612

    owlnest
    Participant

    Hi 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.
    #301688

    Hello,

    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

    #301870

    owlnest
    Participant

    Hello,

    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
    Will

    Attachments:
    You must be logged in to view attached files.
    #301877

    Eric Watson
    Participant

    This issue was fixed in the recent theme hotfix update. Please try to update your theme to the latest version.

    Kind Regards

    #302013

    owlnest
    Participant

    Thanks 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 regards

    #302016

    owlnest
    Participant

    To update, I have updated both the theme and child theme, this mobile menu issue didn’t fix.

    #302080

    Hello,

    Please provide the admin panel login details of the website to check it myself and help you out accordingly.

    Best Regards

    #302184

    owlnest
    Participant

    Hi there,

    Please let me know.

    regards
    Will

    #302202

    Hello,

    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

    #302213

    owlnest
    Participant

    Please try again now.

    #302352

    Hello,

    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

    #302356

    owlnest
    Participant

    Thank you for helping.
    I have upgraded the theme to 6.1.2. However, it didn’t fix the mobile menu. Any other idea?

    Regards

    #302373

    Artem Temos
    Keymaster

    Hello,

    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

    #302417

    owlnest
    Participant

    Hi there,
    This fixed the issue. Thank you very much!
    W

    #302448

    Artem Temos
    Keymaster

    Great, you are welcome!

Viewing 15 posts - 1 through 15 (of 15 total)

The topic ‘Menu issues on mobile with new categories’ is closed to new replies.