Tagged: x
-
AuthorPosts
-
April 28, 2016 at 8:49 am #904129
kobyco2ParticipantHello,
I see that in my website on a 10-12 inch laptops – the menu is still desktop menu and doesn’t look good, is there a way to make it a mobile menu on these kind of screens?
this is my website
http://ad-it.online/Thank you
April 28, 2016 at 8:45 pm #905020
John EzraMemberHi there,
Thanks for writing in! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.
@media (max-width:1250px){ nav.x-nav-wrap.desktop { display:none; } a.x-btn-navbar { display:inline-block; float:right; } .x-nav-wrap.mobile { display: block; } }Hope this helps – thanks!
May 1, 2016 at 3:25 pm #908206
kobyco2ParticipantHi,
cool, this helps a lotThank you
May 1, 2016 at 6:57 pm #908330
John EzraMemberYou’re most welcome!
May 10, 2016 at 5:12 am #983804
kobyco2ParticipantHi,
I see a problem for some reason – in some small screens the menu is by default open instead of being closed
Can you please check?
Thank you very much
May 10, 2016 at 8:11 am #984044
ChristopherModeratorHi there,
I can’t replicate the issue on your site. Please clear cache and test again or let us know how we we replicate this.
Thanks.
May 19, 2016 at 1:01 am #998859
kobyco2ParticipantHmmm, a bit problematic I agree, but here are some scenarios:
when I work on a 13 inch laptop and then open “customize” – the screen gets smaller and immediatly the menu opens up.
Also, when I tested it for different screen sizes, here is an example:
http://quirktools.com/screenfly/#u=http%3A//ad-it.online&w=1024&h=600&s=1I understand that these are not standard scenarios, but I want to make sure that I am not missing anything and it also happens for “normal” users
Thank you
May 19, 2016 at 2:56 am #998975
LelyModeratorHello There,
Please check this part of the CSS:
@media (max-width:1250px){ nav.x-nav-wrap.desktop { display:none; } a.x-btn-navbar { display:inline-block; float:right; } .x-nav-wrap.mobile { display: block; } .mobile-menu-item-div { display:none; } }Update this part:
.x-nav-wrap.mobile { display: block; }To this:
.x-nav-wrap.mobile.in { display: block; }Hope this helps.
May 22, 2016 at 2:41 pm #1004101
kobyco2ParticipantWorks like a charm, thank you!
May 22, 2016 at 8:47 pm #1004441
RadModeratorYou’re welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-904129 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
