HTML collapsible button in (mega menu) static blocks

This topic has 7 replies, 2 voices, and was last updated 1 years, 4 months ago ago by Diamantis

  • Avatar: Diamantis
    Diamantis
    Participant
    June 27, 2023 at 09:53

    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

    6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 27, 2023 at 14:18

    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

    Please contact administrator
    for this information.
    Avatar: Diamantis
    Diamantis
    Participant
    June 27, 2023 at 16:32

    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

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 28, 2023 at 08:22

    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

    Avatar: Diamantis
    Diamantis
    Participant
    June 28, 2023 at 08:25

    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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 28, 2023 at 08:56

    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

    Avatar: Diamantis
    Diamantis
    Participant
    June 28, 2023 at 08:57

    Again thank you for your time
    I’m going to mark the topic as solved

    Kind regards,
    Diamantis

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

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

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