Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #868817

    After one of the latest theme updates (probably the 4.1 series) the menu doesn’t correctly convert into a mobile menu (burger menu) anymore, when it is autogenerated. The burger icon appears, but the “normal” menu items (text) remain visible (breaking the mobile layout) and the mobile menu itself has no entries at all. It seem to work with Enfold 4.0.3.

    Important: this only happens when we use the auto-generated menu! If we create and insert a menu manually, the burger menu works fine. But this has serious disadvantages, since the markup is different and we have a very large pagetree and multiple languages on our site.

    #869398

    Hey laeufer,

    We published a new version of the theme earlier this week, are you running version 4.2 of the theme yet? If not then please try to update to that: http://kriesi.at/documentation/enfold/updating-your-theme-files/

    Best regards,
    Rikard

    #870268

    Hey Rikard,

    thank you for your quick reply. You are right, the auto generated mobile menu works again with theme update to 4.2. But it seems to be buggy. The theme option “Always display submenu items” doesn’t have any effect with the autogenerated menu (“Hauptmenü”, Tab “Burger/Mobile Menu” > “Menu Icon Submenu items”).

    Best regards,
    Sven

    #870984

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Yigit

    #872840
    This reply has been marked as private.
    #873251

    Hi,

    Thank you for using Enfold and reporting this.

    It is a bug and I will look for a fix. I will come back to you when I have the solution.

    Thank you for your patience.

    Best regards,
    Günter

    #873687

    Hi,

    The problem should be fixed with the next update.

    Meanwhile you have to update file enfold\js\avia.js. Please replace the complete content of this file with the RAW paste content of

    https://pastebin.com/EeZvn7iY

    This link is valid for one month. Make sure to make a copy of the original file to have a fallback and that you are using Enfold 4.2.
    Do not forget to clear browser and server cache after the update.

    If you have problem we can do the update for you, please give us FTP access to your server.

    Best regards,
    Günter

    #879050
    This reply has been marked as private.
    #879085

    Hi,


    @diddel_daddel

    Of course, is this a live site or only a staging site? If it’s a live site could you also provide a link so I can check, that the update works. I do not want to update a live site without the possibility to check that the update works.

    Best regards,
    Günter

    #879089
    This reply has been marked as private.
    #879117

    Hi,

    I updated avia.js. The original file is avia_1old.js for fallback.

    You must have some caching plugin running, because I do not get the changed js file when I reload the page.

    Also you have some custom CSS that hides the burger menu for mobile. Do not forget to remove this and also clear your browser cache several times and reload the page then.

    Hope this solves the Problem.

    Best regards,
    Günter

    #879163
    This reply has been marked as private.
    #879174

    Hi,

    In our theme we use:

    
    @media screen and (max-width: 989px) {
    
    }
    
    

    Best regards,
    Günter

    #879181
    This reply has been marked as private.
    #879251

    Hi,

    Did you check the option Dashboard -> Theme Options -> Main Menu -> Menu Items for mobile.

    There you can select, when the menu switches between burger and normal menu.

    Best regards,
    Günter

    #879262
    This reply has been marked as private.
    #879682
    This reply has been marked as private.
    #879687

    Hi,

    The theme is built to “break” the burger menu at 989px.

    If you want to have a wider screen you can try to modify the media queries in enfold\css\layout.css line 3992ff.

    I did not try it up to now and we had no requests for that. But you can post a feature request at https://kriesi.at/support/enfold-feature-requests/ for that.

    Best regards,
    Günter

    #880391
    This reply has been marked as private.
    #880439

    Hi,

    You can refer to this post – https://kriesi.at/documentation/enfold/switching-to-mobile-menu-on-higher-resolutions/ and switch mobile menu breaking point.

    To add JS code in theme, you can add following code to Functions.php file in Appearance > Editor

    function av_custom_js_code(){
    ?>
     <script>
    // Your code goes here
     </script>
    <?php
    }
    add_action('wp_footer', 'av_custom_js_code');

    Let us know if you need further assistance :)

    Best regards,
    Yigit

Viewing 20 posts - 1 through 20 (of 20 total)
  • You must be logged in to reply to this topic.