Dropdown dropping out of nav bar


I need some help please!

For some reason when I was adjusting my nav bar, the toggle menu has now dropped out of line of the other nav bar elements. I cannot work out why so would appreciate any feedback re this?


Hi there @dzgraphicdesign,

Reason of the problem not in adjusting but in using link-blocks inside the nav-menu. I would recommend to use nav-links instead of link-blocks. Then there will be correct structure in the navbar and will be no issues.

One more tip, do not use different classes for every single nav-link, it will make your work much harder when you will style current state for link and it is not good practice in general.


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.