Make changes on theme-builder/header/mobile-menu.php

This topic has 6 replies, 3 voices, and was last updated 7 months, 1 weeks ago ago by Rose Tyler

  • Avatar: jimie
    jimie
    Participant
    May 8, 2024 at 15:42

    Hello,

    Is there any way I can do an override for this file here?

    wp-content/plugins/et-core-plugin/app/controllers/elementor/theme-builder/header/mobile-menu.php

    I’d like to make some changes for

    public function handle_categories_arrows($cat_name, $cat)

    Is there any safe way so I dont lose changes on theme update?

    5 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 9, 2024 at 07:09

    Dear @Jimie,

    I hope this message finds you well.

    As you may be aware, we strongly advise against making modifications directly to the parent XStore theme files or the XStore Core files. Any changes made in these files will be overwritten during subsequent updates.

    Could you please specify the modifications you wish to implement? If your request introduces a valuable feature, we might consider adding it as a separate option for the Menu element.

    Unfortunately, it is not possible to transfer that specific file to your child theme to make changes. Alternatively, you could attempt to create your own widget in your child theme using the same PHP class name you intend to modify. Please note, however, that this would constitute additional customization and falls outside the scope of our standard support.

    We look forward to your response.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: jimie
    jimie
    Participant
    May 9, 2024 at 07:12

    Hello Jack,

    I’m looking to be able to display corresponding icons/images in front of the main categories

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 9, 2024 at 08:25

    Dear @Jimie,

    We appreciate your prompt response.

    Could you please provide some screenshots to ensure a clearer understanding of your request?

    Kind Regards,
    8theme team

    Avatar: jimie
    jimie
    Participant
    May 9, 2024 at 08:28

    Hello,

    I’m talking about the main categories displayed here on mobile menu

    See attached

    Files is visible for topic creator and
    support staff only.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 9, 2024 at 08:53

    Dear @Jimie,

    You can create a new menu via Appearance > Menus that contains categories https://www.8theme.com/documentation/docs/how-to-enable-product-categories-for-menus/ and images https://www.8theme.com/documentation/docs/how-to-add-an-image-for-a-menu-item/ , and shown that menu for mobile in the Categories tab https://prnt.sc/O5SeUtcJ0sjz

    Kind Regards,
    8theme team

  • Viewing 6 results - 1 through 6 (of 6 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.