Why on AMP menu there is only main categories and subcategories are missing

This topic has 4 replies, 2 voices, and was last updated 1 year, 5 months ago ago by Rose Tyler

  • Avatar: Chris0483
    Chris0483
    Participant
    September 8, 2022 at 10:55

    Hello

    Have enable AMP, but in the amp menu the subcategories are missing. How to have the same menu for no-amp website and amp website please ?

    Best regards

    Chris

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 9, 2022 at 08:18

    Hello,

    Do you mean mobile menu area and Mobile panel menu element ?
    If so, then there will be a new filter included in next plugin update but you may add it manually even now

    1/ reupload the next file on your web-site with the one we sent you (to fix mobile menu subitems)
    File path: plugins/xstore-amp/includes/templates/header/parts/mobile_menu_sidebar.php

    2/ You may also add next CSS code (for better design effects) to XStore AMP -> Custom CSS:
    .mobile-menu .sub-menu {
    padding-left: 15px;
    }
    3/ Also you may re-upload next file as well (to fix mobile panel menu subitems)
    File path: plugins/xstore-amp/includes/templates/extra/mobile_panel_menu_sidebar.php

    4/ After that you need to add next line of code to your child-theme/functions.php
    add_filter(‘xstore_amp_mobile_menu_multilevels’, ‘__return_true’);

    All files are sent as package here -> https://dropmefiles.com/XlvQj

    Regards

    Avatar: Chris0483
    Chris0483
    Participant
    September 14, 2022 at 11:15

    Hello

    Thanks it works 😉

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 14, 2022 at 13:56

    Hello,

    You’re welcome!
    We’d appreciate if you could take a moment to give us 5-stars on ThemeForest! https://themeforest.net/downloads

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.