Mega menu drop down not working after theme update

This topic has 6 replies, 2 voices, and was last updated 4 years, 5 months ago ago by Web Admin

  • Avatar: jonathan
    Web Admin
    Participant
    June 14, 2021 at 01:46

    Hi Team,

    We recently update xstore theme and core and currently our mega menu is not working properly. Firstly it was stuck on open and when we hovered over it flickered and open closed uncontrollably.
    https://staging.bla.com.au/wp-content/uploads/2021/06/Screen-Shot-2021-06-14-at-9.40.08-am.png

    After this we cleared the cache hoping it would resolve the problem however it got worse. Now it’s just broken.

    https://staging.bla.com.au/wp-content/uploads/2021/06/Screen-Shot-2021-06-14-at-9.41.26-am.png

    Could you please help us fix this.

    Thanks

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    June 14, 2021 at 15:54

    Hello,

    We changed the order of the styles priority a little bit in the last update. I have fixed classes in your custom CSS. Check now.

    Regards

    Avatar: jonathan
    Web Admin
    Participant
    June 15, 2021 at 00:46

    Thanks for the update.

    The patch seems to be working fine on staging. However when we push the changes to live it is still the same issues?

    How can we fix this?

    Avatar: jonathan
    Web Admin
    Participant
    June 15, 2021 at 02:04

    Hi, just an update from previous message.

    So we got it working fine pushing changes from staging to live. However we had to push the database aswell? So we are assuming some changes were saved to the database.

    Could you please tell tell us what changes were made so we can implement them on our bla.co.nz website.

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    June 15, 2021 at 14:10

    Hello,

    1) Edit the Theme Options > Custom CSS and change
    .secondary-menu-wrapper .menu to .et_b_header-menu .secondary-menu-wrapper .menu
    2) Edit child theme functions.php and change

    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
    	etheme_child_styles();
    }

    to

    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 1001 );
    function theme_enqueue_styles() {
    	etheme_child_styles();
    }

    Regards

    Avatar: jonathan
    Web Admin
    Participant
    June 21, 2021 at 00:15

    Awesome thank you, all working now!

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

The issue related to '‘Mega menu drop down not working after theme update’' 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.