Tagged: x
-
AuthorPosts
-
June 30, 2016 at 4:49 am #1066469
bergtopParticipantHello,
On the forum I found this code to always show the the mobile menu.
.x-navbar { text-align: Center; } .x-navbar .desktop { display: none !important; } .x-navbar .x-btn-navbar { display: inline-block; } .x-nav-wrap.mobile.collapse.in { display: block; } .x-nav-wrap.mobile.collapse { display: none; } .x-nav-wrap.mobile { display: block; }It works great, but it pushes the mobile menu to the center, but I prefer it to be on the right. It goes to the right with text-align but the the text…also goes to the right.
any suggestions?
Regards,
DimitryJune 30, 2016 at 4:50 am #1066470
bergtopParticipantJune 30, 2016 at 6:39 am #1066558
LelyModeratorHello Dimitry,
To move the mobile menu button to the right, please update this:
.x-navbar .x-btn-navbar { display: inline-block; }To this:
.x-navbar .x-btn-navbar { display: inline-block; float: right; }Hope this helps.
June 30, 2016 at 8:39 am #1066677
bergtopParticipantThanx, it works.
I wonder is there any possibility to change the width of the mobile menu?
Thx in advance,
DimitryJune 30, 2016 at 9:14 am #1066730
bergtopParticipantI solved it.
`.x-navbar .mobile .x-nav {
background: white;
border-radius: 7px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 20px;
width: 300px;
float: right;
}
,Added width and float to right.
June 30, 2016 at 11:00 am #1066866
JoaoModeratorGlad to hear it.
Let us know if we can help you with anything else.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1066469 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
