Home › Forums › Support › Logo, site title and slogan centered, with split navigation (left and right)
- This topic has 15 replies, 2 voices, and was last updated 2 years, 7 months ago by Leo.
-
AuthorPosts
-
February 26, 2020 at 2:56 am #1177154Gelu-Dănuț
I use now this CSS:
.generate-back-to-top, .generate-back-to-top:visited { bottom: 125px; right: 0px; } @media (min-width:769px) { .site-branding { display: inline-block; vertical-align: middle; } .site-logo { float: left; margin-right: 20px; }
I want logo with site title and slogan in primary navigation.
On scroll (desktop), i want logo with site title centered (in navigation middle).
On mobile and desktop i want to hide menu item separator.
I’m sorry for my English language.February 26, 2020 at 9:56 am #1177783TomLead DeveloperLead DeveloperHi there,
Have you tried these instructions?: https://docs.generatepress.com/article/centering-logo-navigation/
Let me know 🙂
February 26, 2020 at 10:51 am #1177838Gelu-DănuțYes, thank you, don’t work for my website.
I want logo before site title and slogan, centered.
Navigation is divided by these (left and right).February 27, 2020 at 12:06 am #1178254TomLead DeveloperLead DeveloperCan you show me an example of what you’re trying to achieve?
Let me know 🙂
February 27, 2020 at 12:15 am #1178263Gelu-DănuțI want to make https://www.dgsromania.ro/, with logo+site title and slogan centered, and navigation: https://www.mihairomanfotograf.ro/.
And if scroll all centered, in mobile centered…
My English language is bad, sory!February 27, 2020 at 3:36 am #1178416DavidStaffCustomer SupportHi there,
can you complete ONLY #5 and #6 of the steps here:
https://docs.generatepress.com/article/centering-logo-navigation/
Then let me know and ill provide the CSS
February 27, 2020 at 4:34 am #1178459Gelu-DănuțThank you! Done!
February 27, 2020 at 5:20 am #1178503DavidStaffCustomer SupportCan you check step 5 :
February 27, 2020 at 5:25 am #1178506Gelu-DănuțSory! IS OK now? Thank you!
February 27, 2020 at 7:30 am #1178782DavidStaffCustomer SupportNow add this CSS to your site:
@media (min-width: 769px) { .inside-header { display: flex; flex-direction: column; justify-content: center; } .site-branding-container, .sticky-menu-logo .navigation-stick:not(#sticky-placeholder) .navigation-logo { position: absolute; left: 50%; transform: translateX(-50%); z-index: 1000; } .site-branding-container { flex-direction: column; } .main-navigation ul { display: flex; justify-content: center; } .main-navigation .menu-item-separator { -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; } .main-navigation .menu-item-separator a { font-size: 0; background: transparent !important; } } @media(max-width: 768px) { .main-navigation.toggled .main-nav li.menu-item-separator { display: none !important; } }
You may want to:
1. Reduce the Site Title font size in Customizer > Typography > Headings
2. Increase the Mobile Menu Breakpoint:
February 27, 2020 at 8:30 am #1178857Gelu-DănuțThank you. On scroll, please, is possible to make centered logo?
On mobile, hide Menu Item Separator?February 27, 2020 at 8:38 am #1178866DavidStaffCustomer SupportI updated the CSS here
February 27, 2020 at 8:45 am #1178870Gelu-DănuțThank you! Thank you! Thank you!
5 stars for GeneratePress Premium and customer support!
Thank you! Thank you! Thank you!February 28, 2020 at 3:50 am #1179465DavidStaffCustomer SupportHappy to help 🙂
September 18, 2021 at 8:21 am #1934827jamesHi guys,
I’ve been trying to follow this guide and also the other resource that’s referenced above.
Whatever I try I’m unable to get the number of menu items split evenly. From reading your description above you mention “Steps” such as “step 5” but there are no steps in the guide you provided! Any thoughts, or can you include the steps involved?
You’ll see how my menu looks below:
-
AuthorPosts
- You must be logged in to reply to this topic.