Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #426619

    Hello

    Is it possible to use the mobile menu across all versions of the site (desktop and mobile)? If so, would it be possible to let me have the code to do this?

    Thanks

    #426641

    Hey i tried that in past, and that is possible with media queries

    Lets check out with this code

    @media screen and (min-width: 1024px)
    #advanced_menu_toggle, #advanced_menu_hide {
      display: block !important;
    }

    You can play around with css to do the trick ;-)

    #426925

    Hi!

    Did you try the suggestion above and did you have any luck with it? If not, please try the following in Quick CSS under Enfold–>General Styling:

    @media only screen and (min-width: 1024px) {
    nav.main_menu { display: none !important; }
    #advanced_menu_toggle { display: block !important; }
    }

    Cheers!
    Rikard

    #426962

    Hey!

    Thank you for using Enfold.

    You can try to this in the Quick CSS field to show the mobile menu earlier:

    @media only screen and (max-width: 1100px) {
    .html_mobile_menu_tablet .container #advanced_menu_toggle, .html_mobile_menu_tablet #advanced_menu_hide {
    display: block;
    }
    
    .responsive .av_mobile_menu_tablet .main_menu {
    display: none;
    }
    
    .html_mobile_menu_tablet #mobile-advanced {
    display: block;
    }}

    Cheers!
    Ismael

    #427359
    This reply has been marked as private.
    #427986

    Hi!

    Please try the following to adjust the logo:

    .html_header_top.html_logo_center .logo{
    left:10% !important;
    }

    Adjust the value 10 to your liking.

    Cheers!
    Rikard

    #428035

    Thank you

    #428671

    Hi!

    You’re welcome, glad we could help.

    Regards,
    Rikard

    #429770

    One more thing here guys. The mobile menu seems to be working fine on the desktop site, thanks.

    However, I would like to show it at only 40% width on the desktop site, at the moment it takes over the whole page, as it would on a mobile.

    Can you help?

    Thanks

    #429795

    Hi!

    Please try adding following code to Quick CSS

    @media only screen and (max-width: 990px) {
    #mobile-advanced {
      width: 40%;
    }}

    Regards,
    Yigit

    #429802

    Thanks. I’m afraid that has no effect. I also changed the code to min-width and it didn’t show.

    #430150

    Hey!

    Please try if you have any luck with this:

    @media only screen and (min-width: 990px) {
    .avia_transform3d .show_mobile_menu #mobile-advanced {
      -webkit-transform: translate3d(-50%, 0, 0) !important;
      transform: translate3d(-50%, 0, 0) !important;
    }
    }

    Cheers!
    Rikard

    #430681

    Thanks Rikard. That works perfectly.

    My final question/point would be that there’s no option to close the menu, unlike on a phone. Do you know the reason for this?

    Thanks

    #431122

    Hi!

    Sorry about that, please try if this works:

    @media only screen and (min-width: 990px) {
    #advanced_menu_hide {
      display: block !important; 
    }
    }

    Regards,
    Rikard

    #431139

    Thanks very much. You may already have it as a plan, but I think it would be worth including the option to use the mobile menu across all versions of the site within the theme.

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Use mobile menu across all site versions’ is closed to new replies.