• Resolved MyWPun

    (@mywpun)


    Hi, sorry that I’m bringing another mega menu issue, the problem is that when loading a page, for a brief moment, the mega menu section is displayed limited within the main menu section column before it expands to full width.
    Pictures:
    https://ibb.co/XjCCQ5F
    https://ibb.co/hHBp1Z8

    I did built it by dividing a section into 3 columns and adding headers to each, tried with the table but got the same loading result.

    Please let me know how can I make the mega menu loads full width from the page refresh.
    My thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @mywpun ,
    Thanks for reaching out to us. I’m very sorry for the delay in getting back to you!

    I can understand the issue you are talking about. Sometimes due to optimization rules applied for the JS files, you may encounter such issues with Megamenu. If you are using any optimization plugin and any functionality that delays the execution of JS files until the page load or until a user interacts is enabled there, then the Megamenu may appear as broken while the page is loading.

    So, would you please remove any rules assigned for JS files from your optimization plugin and then check if the issue still persists? If that solves the issue, then you can keep that feature disabled.

    There is also another workaround for this issue. You can set a min-width for the Megamenu, equivalent to the width you’ve applied while configuring the Megamenu. You can copy the CSS code mentioned below and paste it to the Appearance > Customize > Additional CSS section. You can change the value of Min-Width as per your needs.

    @media (min-width: 1025px){
    .elementskit-megamenu-panel {
        min-width: 750px !important;
    }
    }

    Let me know if that helps or if you need any further assistance.

    Best Regards
    Prosenjit

    Thread Starter MyWPun

    (@mywpun)

    Hello Prosenjit, the latter solution seems to be working fine, I did changed the theme but the issue persisted, as for the plugins I have only Elementor and EK since I’m building the website on local host.

    I still don’t understand what does the first line tho ??

    Thank you for the reply.

    Hello @mywpun,
    I hope you’re doing fine.

    I’m glad that one of the solution works. What I meant in the First line is applicable to the Caching or Optimization plugins only. To improve the Page speed, Optimization plugins have a mechanism that delays the execution of the JavaScript file till a user interacts(by clicking or scrolling) with the Page. Since you’re on Localhost and not using any Caching plugin, don’t worry about that.

    But, if you still need assistance in fixing the Megamenu issue, please let me know. I will be happy to assist you.

    Best Regards,
    Prosenjit

    Thread Starter MyWPun

    (@mywpun)

    Hello @prosenjitbarman ,

    The solution works indeed, thank you so much.

    My best wishes,
    Ala

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mega menu – full width at page refresh’ is closed to new replies.