Improving Performance of Mega Menus Across Devices

This topic has 4 replies, 3 voices, and was last updated 1 days, 1 hours ago ago by Tony Rodriguez

  • Avatar: mahdar
    MAHDAR
    Participant
    September 16, 2025 at 00:23

    Hello, I hope you’re doing well. I created a few mega menus in Static Blocks.

    These mega menus are used in two places: one in the desktop menu and one in the mobile menu.

    Because they are duplicated, more than 1800 lines of code have been generated in the source.

    Is there a way to make it run only once so that the site becomes lighter?

    Or, similar to Elementor’s menu element, can the desktop mega menu turn into a hamburger menu when the screen size is smaller?

    Thanks.

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 16, 2025 at 07:04

    Dear @MAHDAR,

    Thank you for reaching out.

    Currently, there is no built-in functionality to modify the mega menu specifically for smaller devices to convert it into a mobile-style menu. We recommend creating a simplified version of the content for the mobile menu dropdown. Displaying large amounts of content on mobile devices may not provide the best user experience or interface for your customers.

    Should you need further assistance, please feel free to contact us.

    Best regards,
    The 8Theme Team

    Avatar: mahdar
    MAHDAR
    Participant
    December 2, 2025 at 03:14

    Thanks for the support! My topic “Improving Performance of Mega Menus Across Devices” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 2, 2025 at 03:14

    Dear MAHDAR,

    We really appreciate your time and engagement within the WordPress & WooCommerce community

    Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.

    Your input makes a real difference.

    Topic closed.
    The 8Theme Team

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

The issue related to '‘Improving Performance of Mega Menus Across Devices’' has been successfully resolved, and the topic is now closed for further responses

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