- This topic has 25 replies, 5 voices, and was last updated 5 years, 5 months ago by
Tom.
-
AuthorPosts
-
November 5, 2020 at 8:36 pm #1519931
Elvin
StaffCustomer SupportHi Alfonso,
You’ll have to switch to flexbox in order to use this hook.
Please refer to the hook’s documentation page.
https://docs.generatepress.com/article/generate_menu_bar_items/November 5, 2020 at 10:38 pm #1519968Alfonso
Hi there,
I’ve followed your steps but is still not displaying like i need:
https://snipboard.io/Jd39jI.jpg
and changing to Flexbox mi header in desktop mode now is displaying different
November 6, 2020 at 9:24 am #1520824Tom
Lead DeveloperLead DeveloperHi there,
That could be fixed by increasing the “Priority” value in the Hook Element to something like
100. Then it will need a little CSS to hang over the menu.What about your header changed?
November 6, 2020 at 10:20 am #1520892Alfonso
Hi guys,
Good job, but, is not possible to place here?
https://snipboard.io/USv893.jpg
I’ve changed priority hook to 100.
My desktop header with Flexbox:
https://snipboard.io/qPDTW2.jpg
Header should be correct height and Navitagion menu should be centered 🙁
November 6, 2020 at 1:09 pm #1521055Tom
Lead DeveloperLead DeveloperHard to tell without being able to inspect it, unfortunately.
Let’s try this hook instead:
generate_after_mobile_menu_buttonIt will allow you to continue to use the Floats version. It will still need some CSS to display correctly – we’ll need to see it on the page in order to provide that.
November 7, 2020 at 1:15 am #1521380Alfonso
Hi Tom,
you can login at my staging website with admin credentials that i sharing you.
You will can check and inspect all
November 7, 2020 at 11:35 am #1521971Tom
Lead DeveloperLead DeveloperAny chance you can switch the hook to the one I mentioned above?
Thanks!
November 7, 2020 at 12:08 pm #1521986Alfonso
Hi Tom,
Now is on Floats version and generate_after_mobile_menu_button hook
With this settings the SVG image is not displaying
November 8, 2020 at 11:34 am #1522924Tom
Lead DeveloperLead DeveloperSorry for the wait on this.
I went ahead and changed the hook to
generate_after_mobile_header_menu_buttonas you’re using the mobile header.I also gave it a wrapper:
<div class="mobile-header-custom-image-container"> your image HTML here </div>Now you should be able to add this CSS:
.mobile-header-custom-image-container { order: 4; position: relative; width: 100px; height: 60px; overflow: visible; } .mobile-header-custom-image-container img { position: absolute; top: 0; right: 0; z-index: 10; }November 9, 2020 at 12:13 am #1523313Alfonso
Hi Tom,
It took a while but we did it!! thank you very much!!! great job!!!
Congrats!!
November 9, 2020 at 9:49 am #1524250Tom
Lead DeveloperLead DeveloperGlad we got it working 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.