Tagged: x
-
AuthorPosts
-
August 31, 2016 at 11:47 am #1155385
arthurdupuyParticipantHello,
Here is my website and I can’t have my menu well centered as you can see http://www.alveusclub.com. Do you have an idea of how to have items well centered on both part of the centered logo.
If it’s possible, I would like to have the right items float on the right and the left items float on the left…
Thank you very much !
August 31, 2016 at 11:49 am #1155395
arthurdupuyParticipantThis reply has been marked as private.August 31, 2016 at 11:59 am #1155412
RahulModeratorHey There,
Thanks for writing in!
When you add a logo image, you can also set the logo and navigation to be “Inline”. You may go to Appearance > Customize > Header > Logo & Navigation.
If you are not satisfied with this arrangement because somehow your logo is big enough and feel that you need to move the navigation a little to the middle, you may try to use this code then.
@media (min-width: 980px){ .x-navbar-inner { display: table; width: 100%; } .x-brand, .x-nav-wrap.desktop { display: table-cell; vertical-align: middle; } }Hope this helps.
September 2, 2016 at 5:48 am #1158297
arthurdupuyParticipantThank for your answer but I would like to have the logo well centered. I’ve tried several codes but the logo is not perfectly centered as you can see.
If you have something else….
Thank you
Arthur
September 2, 2016 at 7:57 am #1158416
JoaoModeratorHi Arthur,
Your logo is well centered on my end.
Would you mind clarifying what you mean or providing a screenshot?
Thanks
Joao
September 13, 2016 at 2:55 am #1172654
arthurdupuyParticipantHello Joa,
For me it’s not as you can see attached…
Thank you for your help
September 13, 2016 at 5:24 am #1172813
LelyModeratorHi There,
Thank you for the screenshots.
Your entire menu block is centered. But then the position of the logo in the middle will depend on character length of the first two menu on the left. The longer the menu link name on the left is, the longer the space on the left of the logo. It will push the logo a little on the right. We can add this custom CSS adjust it a little on the left side..x-navbar .desktop .x-nav>li:first-child { margin-left: -4px; /*Adjust this accordingly*/ }Hope this helps.
September 16, 2016 at 2:54 am #1177872
arthurdupuyParticipantThank you for your help !!
September 16, 2016 at 3:15 am #1177899
FriechModeratorYou’re more than welcome, glad we could help.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1155385 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
