Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #1011171

    Hello,
    I created a site with 1 anchor link that matches the “recensioni” item.
    It works well on the desktop but on the mobile screen clicking on the item is ok link but the menu remains open on the page!
    Any idea?

    I provide the precise link to the site in private content.
    Kind regards

    #1011355

    Hey topmedialab,

    Thank you for using Enfold.

    Please update the theme to the latest version 4.4.1. That should fix any issues you are currently experiencing :)

    To update to the latest version follow the simple instructions here. (Or if you want the super detailed explanation you can read this blog post)

    I could not reproduce the problem with the latest version.

    Best regards,
    Günter

    #1011788

    Hi Günter,
    I have updated the theme Enfold to the latest version 4.4.1 but the problem is not solved :I(
    You can verify?

    Best regards.

    #1012050

    Hi,

    I have marked the topic for Gunter, so he can review :)

    Best regards,
    Basilis

    #1012359

    Ok Basilis, thanks I wait.
    I have a bit of urgency in solving this error!

    Best regards,

    #1012379

    Besides, I have another question: I set favicon (.png and size 32×32).
    If I save my site on the desktop or add to favorites, why does not an icon appear but a preview of the page? See in private!

    Thanks and looking forward to hearing from you.

    #1013278

    Hi,

    This article shows you how to set homescreen icons for apple and android: https://support.wix.com/en/article/setting-the-homescreen-icon-for-iphones-ipads-and-android-devices

    Basically you could use this code to add homescreen icons to the Enfold head section:

    
    function avia_header_scripts_custom_icons(){
    ?>
     	<link rel="apple-touch-icon" sizes="180x180" href="CHANGE_THIS_TO_IMAGE_FULL_URL.png" />
     	<link rel="icon" type="image/png" href="CHANGE_THIS_TO_IMAGE_FULL_URL.png" sizes="192x192">
    <?php
    }
    add_action('wp_head', 'avia_header_scripts_custom_icons');
    

    You can add the code to the child theme functions.php, then replace CHANGE_THIS_TO_IMAGE_FULL_URL.png with your icon which should be 180×180 and 192×192 pixel.

    Best regards,
    Peter

    #1013659

    Thanks a lot for your help Peter!
    I tried and the icon is seen perfect on different devices.

    I await a solution to solve the problem of the menu that I found on mobile (test on iphone and android).

    Best regards.

    #1013985

    Hi,

    Thanks for the update. We modified the js > avia.js file based on this thread.

    // https://kriesi.at/support/topic/close-mobile-menu-by-clicking-on-active-navigation-item

    The mobile menu should close properly now when the current menu item is clicked.

    Best regards,
    Ismael

    #1014059

    Hi Ismael!
    I confirm that the menu now closes correctly after I click but the link does not work anymore.

    The item “reviews” in menu is a custom link structure with anchor (http://studioerredue.it/#recensioni)

    Now by clicking on “reviews” from Home page you can see that it does not work jump to yet and that the url only sees ‘http://studioerredue.it/#&#8217;
    Can you check why?

    Thank you!

    #1014181

    Hi,

    Please check your website again. I added following code to the functions.php:

    
    function avia_footer_scripts_close_menu(){
    ?>
    <script>
    jQuery('.html_av-submenu-display-click').on( 'click', 'a', function (e) 
    {
    	var avia_custom_burger_menu = jQuery('.av-burger-menu-main a').find('.av-hamburger');
    	avia_custom_burger_menu.parents('a').eq(0).trigger('click');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'avia_footer_scripts_close_menu', 999);
    

    Best regards,
    Peter

    #1014225

    Hey guys,
    you helped me with the mobile menu from another site #876573
    Now I have the same problem. I want to show the page “Impressum” and “Datenschutz” only in the mobile menu but not on desktop.
    I update enfold and use classes but it doesn´t work :(

    And the site doesn´t look the same in safari on iphone. Some css changes doesn´t work…why?

    Thank you

    #1014252

    I must tell you that the mobile problem has happily disappeared! But then I tried it on the desktop and here it generates problems (I send you in private).

    For the icon this is seen if I add the site at Home, you can set a custom icon even when I add to favorites/bookmarks? (see link 2 in private)

    Thanks.

    #1014601

    Hi,

    @mary301187
    – please create a new thread and we’ll help you there.

    must tell you that the mobile problem has happily disappeared! But then I tried it on the desktop and here it generates problems (I send you in private).

    I tried to reproduce the issue with Chrome, Edge and Firefox but I couldn’t. Please try to clear your browser cache and check the website again.

    Regarding the icon – according to: https://css-tricks.com/snippets/html/set-iphone-bookmark-icon/ following code should enable you to set an bookmark icon:

    
    function avia_header_scripts_custom_bookmark_icons(){
    ?>
     	<link rel="apple-touch-icon-precomposed" href="icon" />
     	<link rel="apple-touch-icon" href="http://mywebsite.com/iphone-icon.png"/>
    <?php
    }
    add_action('wp_head', 'avia_header_scripts_custom_bookmark_icons');
    

    Replace http://mywebsite.com/iphone-icon.png with the url to your icon

    Best regards,
    Peter

    #1014667

    Good for the function for set iPhone bookmark icon. :)

    The menu continues to have strange behavior as you see for a small fraction of time it opens on the right the menu like the mobile version (see video in private link)
    I cleared cache and tested on different browsers (Firefox – Chrome ).
    Can you do another check for me?

    Thank you!

    #1014727

    Hi,

    Ah – now I could reproduce the issue. I could fix it on my end with following code:

    
    
    function avia_footer_scripts_close_menu(){
    ?>
    <script>
    jQuery('.html_av-submenu-display-click').on( 'click', 'a', function (e) 
    {
    	if(! jQuery('html').hasClass('av-burger-overlay-active')) return;
    	var avia_custom_burger_menu = jQuery('.av-burger-menu-main a').find('.av-hamburger');
    	avia_custom_burger_menu.parents('a').eq(0).trigger('click');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'avia_footer_scripts_close_menu', 999);
    

    Please check if it works on your end too.

    Best regards,
    Peter

    #1015197

    I confirm that the bug has disappeared and now it works correctly!

    Thanks for the complete support!
    Have a nice day!

    #1015343

    Hi topmedialab,

    Glad it is working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

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