0

Hi,
I have following code and I want to remove first seperator using css
here's the code

<div id="sub_nav">
| <a href="#">Fashion Insider</a>
| <a href="#">Leasing</a>
</div>
2
Contributors
2
Replies
21
Views
4 Years
Discussion Span
Last Post by code_rum
0

This is code I was getting on using wp_nav_menu in wordpress.
So i added seperator '|' into a span
Now it looks like

<div id="sub_nav">
        <span id="separator"> | </span><a target="_blank" href="">f1</a>
        <span id="separator"> | </span><a target="_blank" href="">f2</a>
</div>

Added css

#sub_nav span:first-child {
display: none;
}

And solved :)

Edited by code_rum

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.