when I manually hide nav items using the code, and when memberstack specific links are hidden automatically (profile, log out, etc) the nav menu still has a small blank space in it.
This becomes quite noticeable when a few nav items in a row are hidden, but is annoying even when it’s just one item.
Please see the screenshots as well as the detail from when I inspect the page. It happens with every hidden nav item, as well as when I hide folder items using header code.
please see the big gap preceding the “Login” nav item.
p.s. The code I’m using to hide the folders is the below, added to every page where it’s required. If anyone has anything better to suggest, please let me know:
Ah ok. After looking at it I notice the parent element has a left margin so even if its empty a margin is applied. By removing that and adding a margin to the links within them it should fix the issue. If you need help with this we suggest adding your project here to get a freelancer to help