- This topic has 9 replies, 2 voices, and was last updated 3 years, 3 months ago by
Leo.
-
AuthorPosts
-
January 27, 2023 at 2:37 pm #2511533
Tim
I’d like to center the mobile logo and have the hamburger menu above by the logo. I’ve tried doing this from recent forums but that code sin’t working.
January 27, 2023 at 4:31 pm #2511593Leo
StaffCustomer SupportHi Tim,
I’d like to center the mobile logo and have the hamburger menu above by the logo.
What about the phone number button?
It doesn’t look like there is enough space for the phone number, logo and menu toggle to be in one line.
January 27, 2023 at 4:41 pm #2511599Tim
I’d like the logo left, then hamburger menu to the right of that then the button centered under both of them.
January 27, 2023 at 4:48 pm #2511604Leo
StaffCustomer SupportHmm this would be a bit tricky.
Can you activate the mobile header option and upload a logo there first?
https://docs.generatepress.com/article/mobile-header/January 27, 2023 at 5:03 pm #2511611Tim
Logo Centered. Button centered under. then hamburger centered under that would work too if that’s easier.
January 27, 2023 at 5:44 pm #2511619Leo
StaffCustomer SupportCan you try this CSS first?
@media (max-width: 768px) { .main-navigation.has-branding:not(.grid-container) .inside-navigation:not(.grid-container) .navigation-branding { margin-left: auto; } .main-navigation .menu-bar-items { width: 100%; justify-content: center; } .main-navigation.has-branding .menu-toggle { margin-left: auto; margin-right: auto; } }January 28, 2023 at 9:19 am #2512219Tim
Doesn’t quite work. take a look.
January 28, 2023 at 12:44 pm #2512351Leo
StaffCustomer SupportAdded some more code here:
https://generatepress.com/forums/topic/center-mobile-logo-2/#post-2511619Can you try it again?
Let me know 🙂
January 28, 2023 at 12:53 pm #2512356Tim
Hmm.. THat did what I wanted but didn’t look great.
Can I get that call button in the slide out menu. Then have the logo and the hambuger to the right of the logo? Can we remove “Menu” so it’s just the 3 lines?
January 28, 2023 at 2:59 pm #2512463Leo
StaffCustomer SupportLet’s take care of one thing at a time.
Can I get that call button in the slide out menu.
You can add it again in the off canvas widget area:
https://docs.generatepress.com/article/off-canvas-panel-overview/#off-canvas-panel-widget-areaAs for hiding the current phone number button on mobile, do you have GB pro by any chance?
Let me know 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.