-
AuthorPosts
-
March 2, 2015 at 1:45 pm #218642
Hewitt WParticipantHi there
Is it possible to set the browser size at which point my menu will turn into the mobile menu in the customizer’s css? I would prefer this than my menu dropping into two lines when the window resizes.
The website is http://yogazone.co.za/new_site/
Thanks in advance as your service is always impeccable!Kind regards
HewittMarch 2, 2015 at 9:27 pm #218907
Rue NelModeratorHi Hewitt,
Could you please specify which screen size you would like to turn your menu into the mobile menu? Right now, the menu turns into a mobile menu when the screen size is less than 980px.
Thank you.
March 3, 2015 at 1:55 am #219003
Hewitt WParticipantHi,
at 1070px please.
Thanks
HewittMarch 3, 2015 at 2:16 am #219013
Rue NelModeratorHi Hewitt,
Please add the following css code in the customizer, Appearance > Customize > Custom > CSS or insert this code in your child theme’s style.css (if you are using a child theme)
@media (max-width: 1070px){ .x-nav-wrap.desktop{ display:none } .x-nav-wrap.mobile{ display:block } .x-nav-wrap.mobile.collapse{ display:none } .x-nav-wrap.mobile.collapse.in{ display:block } .x-btn-navbar { display: inline-block; } .x-navbar-inner { text-align: center; } }Please let us know if this works for you.
March 3, 2015 at 7:51 am #219216
Hewitt WParticipantThank you once again. You guys rock rock!!!
Kind regards
HewittMarch 3, 2015 at 11:46 am #219391
ZeshanMemberYou’re welcome! 🙂
January 13, 2016 at 12:28 pm #744615
Mark CParticipantGreetings!
I used the code above on this site and changed the max width to 1200 – but the hamburger icon disappears for a few hundred pixels when resizing the window to test it and then reappears. Can you guide me on what is causing that?
January 13, 2016 at 4:12 pm #744934
FriechModeratorHi There,
You can add this under Custom > CSS in the Customizer.
@media (min-width: 980px) and (max-width: 1200px){ .x-navbar .x-btn-navbar { display: inline-block; float: right; } }Hope it helps, Cheers!
January 13, 2016 at 8:17 pm #745274
Mark CParticipantProblem solved! Thanks!
January 13, 2016 at 8:20 pm #745283
FriechModeratorWe’re delighted to assist you with this.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-218642 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
