-
AuthorPosts
-
February 9, 2016 at 2:00 pm #787817
Hello, thanks to this wonderful forum I found out how to display the menu always as burger menu, even on larged width:
@media (max-width: 2440px) {
.x-navbar .desktop {
display: none !important;
}
.x-navbar .x-btn-navbar {
display: inline-block;
float: right;
}
.x-nav-wrap.mobile.collapse.in {
display: block;
}
.x-nav-wrap.mobile.collapse {
display: none;
}
}However, now the expanded menu items go across the whole screen. How do I correct this? Also, when reducing the windows the logo and burger menu lose all margins. How can I fix this?
This is the dev site I am working on
http://dev.a-i-r.co/Many thanks in advance for your help.
February 10, 2016 at 12:27 am #788561Hi there,
Thanks for writing in! You can add this code too to control the container inside the Navbar :
.x-navbar-inner .x-container.width { max-width: 1500px; width: 90%; }
Hope this helps.
Cheers!
February 10, 2016 at 3:56 am #788788Hmmm not quite โย still veeeery long across the width of the page, see attachment. How do I get the expanded menu items to just be say 200px wide? And still align to the right?
thank you so much as usual!
Piccia
February 10, 2016 at 4:01 am #788800…I seem to have found a solution:
.x-navbar .mobile .x-nav {float: right;}
Thanks! all done ๐
February 10, 2016 at 7:32 am #789037Glad you’ve sorted it out.
If you need anything else, please let us know ๐
-
AuthorPosts