Tagged: x
-
AuthorPosts
-
January 15, 2017 at 9:27 am #1330831
Matthew CParticipantHello,
I wasn’t wondering if it’s possible to centralise my Navbar Menu vertically?
My url: http://courtcreations.com/
I would like to keep the Logo and the Social Icons where they are and keep them all aligned horizontally, I just want to move the Menu to the middle.
Thanks,
January 15, 2017 at 9:34 am #1330837
ThaiModeratorHi There,
Please try with this CSS:
.masthead-inline .desktop .x-nav { display: table; float: none; margin-left: auto; margin-right: auto; } .x-navbar .desktop .x-nav>li.x-navbar-social { position: absolute; right: 0; } li#menu-item-8306 { right: 28px; } li#menu-item-8308 { right: 60px; }Hope it helps 🙂
January 15, 2017 at 10:04 am #1330862
Matthew CParticipantHi Thai,
That’s almost right but it’s not displaying exactly central, it’s off to the right slightly.
I’ve tried editing some of the px values and few other parts of the code to try and get it but no success.
Thanks.
January 15, 2017 at 10:18 am #1330878
ThaiModeratorHi There,
Please add the following CSS also:
nav.x-nav-wrap.desktop { margin-top: -60px; float: left; width: 100%; } .x-brand { z-index: 99999; position: relative; }Regards!
January 15, 2017 at 10:26 am #1330882
Matthew CParticipantThat’s perfect! 🙂
Thank you very much.
January 15, 2017 at 10:37 am #1330893
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1330831 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
