Hello,
I found this code to change the width at which the site changes from normal menu to mobile menu:
> @media (max-width: 300px) {
> .masthead-stacked .x-btn-navbar {
> display: inline-block;
> }
> .x-nav-wrap.desktop {
> display: none;
> }
> .x-nav-wrap.mobile {
> display:block;
> }
> .x-nav-wrap.mobile.x-collapsed {
> display: none;
> }
> }
It seems to be working for everyone but not for me. I went through all the coding I currently have under customizer and in my style.css, but nothing works. I would really appreciate some help!
Also on the topic of the mobile menu, it is very annoying that visitors have to find the little arrows that are all the way to the right. I tried several codes to make the words clickable, but the codes do not work either, I do not understand what is going on because nothing I seem to do on these two issues seems to have any effect, whereas everything else is working fine. It might be relevant that these are custom links?
The last code I used is (I put it in Edit Global Javascript, as instructed):
jQuery(document).ready(function($){
$('.menu-item-has-children').on('touchend click', function(e) {
$(this).find('.sub-menu').toggleClass('in');
});
$('.x-sub-toggle').on('touchend click', function(e) {
e.preventDefault();
$(this).parents('.menu-item-has-children').find('.sub-menu').toggleClass('in');
});
});
My website: www.tierramitica.com
Thank you very much for the help!