Tagged: 

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1400070

    Hi there! We’re having an issue with a fullwidth submenu sticking in place on mobile, even though the sticky setting is supposed to be deactivated when the hamburger menu is active. Can you please help us troubleshoot?

    #1400097

    Hey jaimemerz,
    Thanks for the link to your page, but the login is not working please check.

    Best regards,
    Mike

    #1400294

    Hi Mike,
    Sorry about that! It should be working now, thanks.

    #1400301

    Hi,

    The password for the username or email above is incorrect. Please check the login info carefully, or provide another admin account.

    Best regards,
    Ismael

    #1400335

    this will be not as easy as it sounds – because unfortunately on the one hand in the corresponding css (menu.css) some statements are set to important, which makes an overwriting via quick css impossible, on the other hand there are also some things to change in the script file.

    the whole block : if( burger_menu.is(":visible") ) had to be commented out !

    The possibility now is to have all child-theme files for the menu. And because the css and js files are loaded via menu.php – this had to be substituted too.

    See a working test page: https://webers-testseite.de/transparent-header/

    you can download all files from here:
    https://webers-testseite.de/menu-files.zip
    all files inside this zip comes to your child-theme shortcodes folder ! ( child-theme/shortcodes – if not present allready – create this subfolder )
    If you haven’t still activated the loading of alb via child-theme you had to place this snippet into your child-theme functions.php

    function avia_include_shortcode_template($paths){
      $template_url = get_stylesheet_directory();
          array_unshift($paths, $template_url.'/shortcodes/');
      return $paths;
    }
    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    #1400344

    Hi,
    Guenni007 thank you for sharing your solution to make the fullwidth submenu sticky on mobile, I’m sure many will find this helpful.
    But the issue jaimemerz has is that the fullwidth submenu is sticky on mobile that he doesn’t want, it looks like some custom javascript adding position: fixed; on scroll, but we can’t tell until we can login and evaluate.
    jaimemerz please check the login.

    Best regards,
    Mike

    #1400351

    aha – ok – then its your turn to find it in the shallows of the source code. ;)

    #1400409

    Apologies for the incorrect credentials, please see the private content!

    #1400509

    Hi,
    Thanks for your patience and the link to your site, I have not seen this error before, but I see an empty avia-style.min.css in your child theme directory please remove this via FTP and clear your browser cache and cache plugin and check again.

    Best regards,
    Mike

    #1400788

    Hi Mike,
    I removed the avia-style.min.css, but unfortunately we’re still seeing the issue. Any other ideas?

    #1400797

    Hi,
    Thanks for the feedback, I first copied your page to my test site and the error didn’t occur so this rules out a bug in the theme, then I saw that you have two parent themes installed Enfold v5.4.1 & Enfold v4.9.2.2 so I tried activating both of these, but the error only occurs with your child theme, so I removed your custom code your your child theme functions.php, but this didn’t solve. I tried disabling your plugins and removing your child theme Quick CSS, but this didn’t solve.
    so I don’t know why this is occurring but this css solves the issue:

    @media only screen and (max-width: 767px) { 
    	#top #wrap_all #main #sub_menu1 {
    		 position: absolute !important;
    		 top: auto !important;
    	}
    }

    I have added this to your Quick CSS, please clear your browser cache and check.

    Best regards,
    Mike

    #1401080

    Hi Mike,
    That worked like a charm! I also don’t fully understand, but appreciate your troubleshooting. Thank you so much!

    #1401084

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Submenu sticks on mobile’ is closed to new replies.