• Resolved fabriceregnier

    (@fabriceregnier)


    Hi all,

    Right now, i can add an icon only the “pages”. This icon will be visible on the menu. OK

    Is it possible to add an icon not only on pages but on link/catégory/…. all elements of the menu.

    In other words, in my main menu, i’d like to have an icon beside the entry “Home”. But i haven’t since it is a link and not a page.

    Any hint ?

    regards,

    Fabrice

Viewing 4 replies - 1 through 4 (of 4 total)
  • Not the perfect solution but you can write this in your Menu Navigation Title : <span class="icon-home"></span>Home

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    If it’s just an icon you want before your home link you can use the CSS ‘:before‘ selector, e.g to add an icon left of the home link:

    nav li:first-child:before {
     background: url(path/to/icon.png) no-repeat;
     position: absolute;
     left: -20px;
     top: 0;
     width: 20px;
     height: 20px;
    }

    http://cssdesk.com/Ea63G

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    [Double post]

    Thread Starter fabriceregnier

    (@fabriceregnier)

    Hello m@xx,

    Thank you for this nice work arround, i should have think about it 😉

    However, since the last theme upgrade, it is possible to show icons for all elements in the menu. But with links category menu, the icon is always the same (Home icon). With your work around, i’ll be able to draw different icons.

    regards,

    Fabrice

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘icon on all element of menu ? theme vantage’ is closed to new replies.