Tagged: x
-
AuthorPosts
-
December 2, 2016 at 2:03 pm #1279125
EricParticipantHi Guys!
I’m trying to center the mobile menu and see a few request in the knowledgebase and have tried this:
.masthead-inline .x-btn-navbar {
float: none;
}.x-btn-navbar {
margin: 0 auto;
width: 40px;
}It centers the menu, but it make the button tall and behind the logo? Is there something else I should have in there?
December 2, 2016 at 6:51 pm #1279424
JadeModeratorHI there,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
December 3, 2016 at 7:36 am #1279787
EricParticipantDecember 3, 2016 at 8:47 am #1279821
ThaiModeratorHi There,
Please try with this CSS:
.masthead-inline .x-btn-navbar { float: none; clear: both; max-width: 51px; margin-left: auto; margin-right: auto; }Hope it helps 🙂
December 3, 2016 at 9:11 am #1279835
EricParticipantPerfect! Thanks!
December 3, 2016 at 9:13 am #1279836
EricParticipantOk perfect on mobile, but in tablet view its in the middle but would look better like the original over to the right.
December 3, 2016 at 9:16 am #1279837
EricParticipantI fixed it! using @media(max-width: 569px)
December 3, 2016 at 9:44 am #1279851
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1279125 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
