queue  6
support
Results 1 to 2 of 2

Thread: Modifying menu <li> elements

  1. #1
    Junior Member
    Join Date
    Oct 2017
    Posts
    3

    Modifying menu <li> elements

    Hi there,

    I'd like to modify the nav menu <li> elements by adding ">" before <li> tag.

    e.g "> Home", ""

    Unable to find menu loop in code. Please advise.

  2. #2
    Administrator Donagh's Avatar
    Join Date
    Aug 2011
    Posts
    1,946
    Hi, Don't try to solve it that way because the menu building code for WP themes is very complicated, in fact it WP core code. Instead try this; Paste this into the custom CSS field in the theme options panel:

    Code:
    .nav.menu li.menu-item a:before{
    content: "> ";
    }
    That should do it.