Forgive me if this question has already been asked (I'm still new to all of this and learning, finding the answer in search is challenging).
I'm attempting to create a collapsible navbar that, when expanded, displays items separated by a "|" symbol (or border right), but when collapsed into a hamburger button, the "|" separators should not be visible.
Currently, the separators appear. See code below and links to images: Collapsed view (want to remove the '|':
https://i.sstatic.net/1Ahc8.png
Expanded view (want to keep the '|' or something similar):
https://i.sstatic.net/fXil0.png
<nav class="navbar navbar-expand-md navbar-dark sticky-top">
<button class ="navbar-toggler" type ="button" data-toggle ="collapse" data-target ="#navvy">
<span class ="navbar-toggler-icon"></span>
</button>
<div class ="collapse navbar-collapse navbar" id ="navvy">
<ul class ="navbar-nav">
<li class="nav-item white"><a class="nav-link active navbar-brand " id ="Overview" href ="overviewpage">Overview</a>|
</li>
<li class="nav-item white"><a class="nav-link active navbar-brand " id ="CS50-nav" href ="cs50page" style="border-bottom: solid 1px white">CS50</a>|
</li>
<li class="nav-item"><a class="nav-link active navbar-brand " id = "Portfolio" href ="Portfoliopage">Portfolio</a>
</li>
</ul>
</div>
</nav>
Any assistance is greatly appreciated!