Jump to content

How to make the last border in Top Horizontal Menu disappear?


Recommended Posts

 

Hello

 

Use this code at the bottom of:  superfish-modified.css

 

.sf-menu > li:nth-child(5) { border-right: none; }
 
Change this Number to your last menu number
 
Before
 
After
 
Paul
    
 

 

It's better to use .sf-menu > li:last-child { border-right: none; } in this case. Because then you don't have to worry if the number of menu items changes.

Link to comment
Share on other sites

×
×
  • Create New...