Hi,
Need to know how I can center the menu items in my nav bar? Seems like I can get them to go right and left, but not centered over my image? Any help is appreciated.
Mike
Hi,
Need to know how I can center the menu items in my nav bar? Seems like I can get them to go right and left, but not centered over my image? Any help is appreciated.
Mike
Hi Mike @mhyusi
I think using Display: Flex (Flexbox) will help.
Change ‘Container 2’ element to ‘Flex’
Align/Justify - Horizontal: Center / Center
Remove margin (30) from ‘Nav Menu’ element
That will center the Nav Links for desktop, however, you will see in the Tablet / Mobile view the ‘Hamburger’ menu icon is not centered.
To correct that issue:
Select ‘Container 2’ (In the 'Tablet View - the changes will cascade down to the mobile view)
Change Flex align to ‘Right’
Hope that helps.
Keiran
Awesome solution thank you for the assist. I always forget about the flexbox option.
Thank you again.
Mike
No problem. Glad to have helped.