Archived topic
Positioning a hook
3 replies · Started by Erika on February 23, 2021
Hi there,
I am creating a landing page and disabled the primary navigation on that site. I would like to add another navigation, this page only, near the logo&site title on the right.
I made a hook that is only displayed on this page and added a navigation in that hook.
How can I place this navigation near the logo&site title onto the right side?
Should look like what I did here: therapiefokus.proceed-it.com
Or maybe I should have another approach?
Thanks, Erika
Hi there,
couple of options:
1. Set the Customizer > General > Structure to Flexbox - this will inline the site branding and the navigiation - may take a little CSS to tweak.
2. If you need to keep the structure as Floats then give your #landing_page_menu element a float: right; CSS property.
Hi David :)
I changed the structure to flexbox, added
.inside-header {justify-content: space-between;}
and et voilá :) happy again. It works.
Thank you, Erika
Awesome - glad to hear that!