adding icon to menu item

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

adding icon to menu item

Post by 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: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: adding icon to menu item

Post by 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: 293
Joined: Tue Sep 15, 2009 4:49 pm

Re: adding icon to menu item

Post by 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

Post Reply