The wordpress navigation menu separator is generally implemented by using the background image. However, this will limit the width of each menu and affect the webpage opening speed. It is also implemented using js. Here, I will introduce you to a simple method-using CSS to implement the wordpress navigation menu separator.
Effect: there are separators between menus. Do not display separators at the beginning or end of the entire menu.
You only need to use the following css code.
. Read_footer_menu li {float: left; font-size: 14px; line-height: 10px; margin-bottom: 15px; padding: 0 8px 0 8px; border-left: 1px solid #888888 ;}
. Read_footer_menu li: first-child {padding: 0 8px 0 0px; border-left: 0px solid #888888 ;}
First, add a left border for li in each menu and set the line height of li to less than the font height,
In the second sentence, use li: first-child to cancel the left border of the first menu.