• neonerve2

    (@neonerve2)


    Okay… I was so close to purchasing this until everything seems to not function with my custom mega-menu.

    https://esseretail.co.uk/shop/ (password: letmein )

    1) Clicking product categories sometimes works and other times results in a blank page. Try checking and unchecking multiple categories and you’ll see what i mean.

    2) Price slider just freezes the whole site

    3) Hierarchy for categories remains as a straight left aligned list

    4) Mobile menu is behind all other items (the z is set for the module/widget)

    5) reset filter takes an eternity.

    6) always scrolls to the bottom of the page when you apply new filter (even though option is not selected).

    I don’t know if all points are linked to the script or the menu or not.
    Divi theme used.
    Widgets used but tried shortcode.
    Tried disabling ajax / refreshing the page.

    https://esseretail.co.uk/test/ Check this page without the mega menu and everything works fine.

    /* Enable class below once you're done editing the menu */
        
    /*
    .dropdown-menu {
    visibility: hidden;
    }
    */
       
    .category-menu .et_pb_menu__menu .dropdown-menu {
    visibility: hidden;
    opacity: 0;
     
    -webkit-transition: 300ms all cubic-bezier(.4,0,.2,1);
    -moz-transition: 300ms all cubic-bezier(.4,0,.2,1);   
    -o-transition: 300ms all cubic-bezier(.4,0,.2,1); 
    -ms-transition: 300ms all cubic-bezier(.4,0,.2,1);   
    transition: 300ms all cubic-bezier(.4,0,.2,1);    
       
    position: absolute!important;
    top: 75px;
    bottom: auto;
    left: 0px;
    right: auto;
    }
       
    .category-menu .et_pb_menu__menu li.first-level:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    }
     
    .category-menu  .et_pb_menu__menu li {
    margin-top: 0px !important;
    } 
     
    .category-menu .et_pb_menu__menu li>a {
    margin-top: 0px !important;
    padding: 30px 20px !important;    
    }
     
    .category-menu .et_pb_menu__menu li.first-level>a:hover {
    background-color: #FF6600; 
    }  
       
    .category-menu .et_mobile_menu .dropdown-menu {
    background-color: white; 
    padding-top: 25px;
    padding-bottom: 5px;
    }   
     
    .category-menu .et_mobile_menu li > a {
    background-color: transparent;
    position: relative;
    }
       
    .category-menu .et_mobile_menu .first-level > a:after {
    font-family: 'ETmodules';
    content: '\4c';
    color: #FF6600;
    font-weight: normal;
    position: absolute;
    font-size: 16px;
    top: 13px;
    right: 10px;
    }
       
    .category-menu .et_mobile_menu .first-level > .icon-switch:after{
    content: '\21';
    color: #c9c9c9;
    }
       
    .category-menu .et_mobile_menu .dropdown-menu {
    display: none;
    }
       
    .category-menu .et_mobile_menu .dropdown-menu.reveal-items {
    display: block;
    }
       
    .category-menu .et_pb_menu__menu>nav>ul>li {
    position: static !important;
    }
     
    .category-menu .et_mobile_menu .dropdown-menu {
    visibility: visible !important;
    }
    
    <script>
    jQuery(function($){
    $(document).ready(function(){
       
     
    $('.dropdown-menu').each(function(i){
       
    i = i + 1;
       
    var $dropdown = $('.dropdown-menu-' + i);
    var $mainMenuItem = $('.first-level-' + i + '>a');
    $dropdown.insertAfter($mainMenuItem);
       
    });  
       
    var $firstLevel = $('.et_mobile_menu .first-level > a');
    var $allDropdowns = $('.et_mobile_menu .dropdown-menu');
     
    $firstLevel.off('click').click(function() {
     
    $(this).attr('href', '#');  
    var $thisDropdown = $(this).siblings(); 
     
    $thisDropdown.slideToggle();
    $(this).toggleClass('icon-switch');
     
    var dropdownSiblings = $allDropdowns.not($thisDropdown);   
    dropdownSiblings.slideUp();
     
    var $thisFirstLevel = $(this);
    var $firstLevelSiblings = $firstLevel.not($thisFirstLevel);
    $firstLevelSiblings.removeClass('icon-switch');  
     
    });      
       
    });
    });
    </script>
    

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Leanza Francesco

    (@leanzafrancesco)

    Hi,
    and thank you for writing in!

    Maybe something in your installation could conflict with the plugin and cause those issues.
    In this case, to discover what is causing the issue you should isolate the plugin behavior; to do this, please, try to deactivate all plugins, leaving only WooCommerce and YITH WooCommerce Ajax Product Filter active, and see if the problem is solved. If so, try to activate them again, one by one, to see which one causes the issue.
    If the problem isn’t caused by a plugin, try to activate a default WordPress theme (i.e:Twenty Twenty) and see if you have the same issue.
    Also, if you have customized some files in your theme, please try with a fresh installation without any customization.

    In addition, it seems you are using the premium version of YITH WooCommerce Ajax Product Filter in your site.
    For any issue concerning the premium version of the plugin, please, write to our support service at yithemes.com/my-account, otherwise it could be misleading for other users here on ww.wp.xz.cn. Don’t worry, our support developers will certainly help you solve the issue you are experiencing.

Viewing 1 replies (of 1 total)

The topic ‘Plugin doesn’t work with custom divi menu’ is closed to new replies.