It’s odd. There’s no doubling in the structure, and they have the same widths.
Can you try this?:
@media(min-width: 1025px){
div#primary-menu > ul > li:after {
content: "";
height: 16px;
width: 0.5px;
position: absolute;
background-color: #000000;
top: 50%;
right: 0;
transform: translate(-50%,-50%);
}
div#primary-menu > ul > li {
position: relative;
}
div#primary-menu > ul > li:first-of-type:before {
content: "";
height: 16px;
width: 0.5px;
position: absolute;
background-color: #000000;
top: 50%;
left: 0;
transform: translate(-50%,-50%);
}
}
I tried changing the width.