Does anyone know how to separate different pages o...
# questions
c
Does anyone know how to separate different pages on the navigation tab (aligned on the left), via some spacing between them. It currently looks like this: HOME PRODUCTS COMPANIES USERS and I want it to look like this HOME PRODUCTS COMPANIES USERS
a
guessing you can do this with css
g
Yes this is possible with custom CSS. Unfortunately you can't target the CSS classes themselves as the navigation items do not get a unique class assigned to them. But you can use the
:nth-child()
CSS selector to add this. In testing the below CSS I have noted it is important to use the
a
selector as well to prevent child navigation items from also getting the custom CSS. This CSS should work as-is to get exactly what you want. Adjust margins as needed.
Copy code
#navTree :nth-child(2) a {
  margin-top: 1em;
}

#navTree :nth-child(4) a {
  margin-top: 1em;
}
c
You are a ⭐ It worked perfectly well and helps a lot to improve the navigation!
g
Happy to help!