Home Forums WoodMart support forum How to show a Html Block at the top of ‘Mobile menu”?

How to show a Html Block at the top of ‘Mobile menu”?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #580959

    chefnelone
    Participant

    Hi there,

    Is there a way to show a ‘Html Block’ at the top of ‘Mobile menu”?

    Capture 1: https://drive.google.com/file/d/1f6gD9NjcrvK8LJQDFZvTxHwR-Wgq3VQ0/view?usp=sharing
    Capture 2: https://drive.google.com/file/d/1jQfUeOWRvC1a6NXSRpoE7tAc7USR7DNh/view?usp=sharing

    Thanks.

    • This topic was modified 4 days, 3 hours ago by chefnelone.
    • This topic was modified 4 days, 3 hours ago by chefnelone.
    #580969

    chefnelone
    Participant

    If this is not possible with setting, I can modify the template page for the mobile menu to insert the Html Block shortcode by code.

    In this case, please tell where to find (location) the right template page to edit.
    thanks.

    • This reply was modified 4 days, 2 hours ago by chefnelone.
    #581005

    chefnelone
    Participant

    I think I found the template file: woodmart/inc/template-tags/template-tags.php
    I copied the file into my child-theme folder but it is not working. What am I missing here?
    Take a look at the attached capture please and let me know what is missing.
    Thanks.

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

    Hung Pham
    Keymaster

    Hello chefnelone,

    Thanks for reaching to us.

    You can add elements in the mobile menu by using the widget Area after the mobile menu https://prnt.sc/xMM2xpxW7GCA This widget is designed in this way that it comes after the mobile menu in sidebar and we can not move this widget elements at the top of mobile menu. https://xtemos.com/docs-topic/widgets-and-sidebars/

    Unfortunately, there is no option in the theme to move widget at the top in the mobile menu.

    Best Regards.

    #581225

    chefnelone
    Participant

    Hello,

    Thanks. What about the template file: woodmart/inc/template-tags/template-tags.php ?
    I added a custom text in this file and got what I need. Then I copied the file into my child theme but it is not working.
    What am I missing here? Please take a loot a my capture attached.
    Thanks.

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

    chefnelone
    Participant

    Capture to show you that the “hello” word is shown: https://drive.google.com/file/d/1ppJI3YQRQBbSXHcayKFTmnWbu-Nl3oAF/view?usp=sharing

    #581252

    Hung Pham
    Keymaster

    Hello chefnelone,

    Copy template file into the child theme does not mean it will override the parent template’s functions.

    Unfortunately, customization is out of basic support.

    Thanks for understanding our limitations.

    Best Regards,

    #581341

    chefnelone
    Participant

    Hello,
    I fully understand. This would be a nice feature to include in future versions.
    Thanks for your support anyway.
    Regards.
    Walter.

    • This reply was modified 3 days, 1 hour ago by chefnelone.
    #581428

    Hung Pham
    Keymaster

    Hello chefnelone,

    Thanks for understanding. You can create a ticket here: https://woodmart.canny.io/feature-requests so our developers will consider such a feature.

    Keep us in mind for future questions and concerns, we’re always here to help!

    Regards,

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