This topic has 7 replies, 2 voices, and was last updated 1 years, 3 months ago ago by Diamantis
Good morning,
Using a combination of XSTOREs theme builder and Elementor we have come across a certain caveat so we would like your help and expertise if possible.
So, our bottom header is the place where our navigation menu is residing.
Each element has a mega menu dropdown where a static block (edited with elementor) is used to show options regarding different product categories and sub categories.
Here comes the caveat, in an attempt to use an html collapsible button to show/hide some sub-categories and while the button works in the preview option while in Elementor the button doesn’t function the same while in the live website (clicking it actually does nothing – although inspecting the element shows the values inserted).
Is it because we can’t use collapsibles while in a static block dropdown in the navigation menu or is it something else that we are anaware of ??
P.S Testing the html collapsible button anywhere else in the front page worked ideally as expected.
Thank you in advance
Kind regards,
Diamantis
Hello, Diamantis,
Thank you for contacting us and for using XStore.
Could you provide temporary wp-admin and FTP access?
What exactly menu item has a collapsible button on your site?
Kind Regards,
8theme team
Good evening currently no sub-menu item has a collapsible button, since we couldn’t get it to work properly.
We can replicate it thought and procure temporary wp-admin access.
See Private content area for temp admin access
Thank you for your time
Kind regards,
Diamantis
Hello, Diamantis,
You added a static block shortcode into HTML block, which can’t work.
We added toggle text element as an alternative:
Frontend:
https://prnt.sc/mPOBEjX75EQY
https://prnt.sc/QpDPqXSU7huc
Backend:
https://prnt.sc/hC0lcFgzxAn0
Kind Regards,
8theme team
Thanks for the support, but can you check at the end of the home page, we have added the same static block with shortcode and it functions as expected.
Can’t we get it to work in the nav menu ?
Thank you in advance,
Kind regards,
Diamantis
Hello, Diamantis,
No, it is not possible to make it work in the nav menu. Only the way we wrote before is acceptable.
Kind Regards,
8theme team
Again thank you for your time
I’m going to mark the topic as solved
Kind regards,
Diamantis
Tagged: button, collapsible, html, mega menu, static blocks, themes, woocommerce, wordpress
The issue related to '‘HTML collapsible button in (mega menu) static blocks’' has been successfully resolved, and the topic is now closed for further responses