adding icon to menu item

About the template and stylesheet - and changing the menu
bca
Posts: 268
Joined: Tue Sep 15, 2009 4:49 pm

adding icon to menu item

Postby bca » Sun Aug 27, 2017 4:27 pm

Hi
Is there a easy way of adding a FA icon to the end of a menu button to indicate there are more levels?
for example a downangle

b

frase
Posts: 1289
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: adding icon to menu item

Postby frase » Sun Aug 27, 2017 4:37 pm

Code: Select all

li.docs a::after, li.sdocs a::after, li.sdocs span::after {
   content: " \f078";
   font-family: "FontAwesome";
}

bca
Posts: 268
Joined: Tue Sep 15, 2009 4:49 pm

Re: adding icon to menu item

Postby bca » Sun Aug 27, 2017 5:19 pm

Thanks Frase
That works OK.
I was close but hadnt declared the font family and missed the span

B


Return to “Changing layout”

Who is online

Users browsing this forum: No registered users and 1 guest