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”?
- This topic has 8 replies, 2 voices, and was last updated 3 months ago by Hung Pham.
-
AuthorPosts
-
July 4, 2024 at 3:17 pm #580959
chefneloneParticipantHi 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=sharingThanks.
- This topic was modified 3 months ago by chefnelone.
- This topic was modified 3 months ago by chefnelone.
July 4, 2024 at 3:48 pm #580969
chefneloneParticipantIf 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 3 months ago by chefnelone.
July 4, 2024 at 5:36 pm #581005
chefneloneParticipantI 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.July 5, 2024 at 8:20 am #581093
Hung PhamKeymasterHello 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.
July 5, 2024 at 1:20 pm #581225
chefneloneParticipantHello,
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.July 5, 2024 at 1:43 pm #581231
chefneloneParticipantCapture to show you that the “hello” word is shown: https://drive.google.com/file/d/1ppJI3YQRQBbSXHcayKFTmnWbu-Nl3oAF/view?usp=sharing
July 5, 2024 at 2:11 pm #581252
Hung PhamKeymasterHello 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,
July 5, 2024 at 5:13 pm #581341
chefneloneParticipantHello,
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 months ago by chefnelone.
July 6, 2024 at 9:35 am #581428
Hung PhamKeymasterHello 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,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register