Is there a way to put an icon shortcode or a symbol, eg. | (bar symbol) between each menu item on the navigation bar? I'm not seeing an option in the settings. Thanks!
Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):
#top nav ul li:not(:last-child) a:after {
content: "|";
position: relative;
left: 10px;
}
Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):
#top nav ul li:not(:last-child):after {
content: "|";
position: relative;
left: 0px;
}
I've added a sub menu and don't need this divider symbol on the sub menu.
After some looking around the webs, looks like maybe using :nth-child(-n+6) may be a fix to apply the divider to only the top 6 child items? But I'm not sure how to change this code to make it work.
Is there a way to put an icon shortcode or a symbol, eg. | (bar symbol) between each menu item on the navigation bar? I'm not seeing an option in the settings. Thanks!
Hey Again,
Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):
Thanks
ThemeNectar Support Team
Tahir - that worked!!
It is functioning as part of the hyperlink. Is there a way to turn off the coloring/underline on just the | ?
Use this instead.
Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):
Thanks
ThemeNectar Support Team
I've added a sub menu and don't need this divider symbol on the sub menu.
After some looking around the webs, looks like maybe using :nth-child(-n+6) may be a fix to apply the divider to only the top 6 child items? But I'm not sure how to change this code to make it work.
Hey Again,
I dont see any submenu on the Live Site ?.
Best
ThemeNectar Support Team
Hey Again,
Use this css instead:
Best
ThemeNectar Support Team
Thank you Tahir!