BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Place FA icons above link title
Tagged: fa icons, menu link title
- This topic has 17 replies, 3 contibutors, and was last updated 9 years, 9 months ago by Alyssa.
Question
February 7, 2015 at 8:46 am #35556@style960What would be the cleanest CSS to place FA icons above the menu link title (BuddyPanel)?
Thanks,
Paul.Answers
February 7, 2015 at 11:19 am #35562@alyssa-buddyboss
AlyssaParticipant@style960 to verify I understand correctly can you tell me the div id or class you are talking about, and you want it ABOVE the title? Do you have a mockup of how you want it to clarify further?
February 7, 2015 at 2:13 pm #35569@style960@tjchester
This would be for any menu assigned to BuddyPanel. I’m struggling to find the correct class.
Something like this I’m thinking:
http://cdn1.tnwcdn.com/wp-content/blogs.dir/1/files/2012/09/image3.jpgFebruary 7, 2015 at 3:20 pm #35585@alyssa-buddyboss
AlyssaParticipant@style960 this is the element you want to edit:
.menu-panel #nav-menu > ul > li.menu-item-9:before{font: normal normal normal 14px/1 FontAwesome;content: '';}
Just change the menu item number and place the FA content into the content. Don’t forget to size it using font-size.
February 7, 2015 at 3:22 pm #35586@style960@tjchester I see. I was wondering about the font size part. Excellent thanks 🙂
February 7, 2015 at 5:54 pm #35593@style960@tjchester Just tried this but it actually didn’t effect any change at all?
February 7, 2015 at 6:01 pm #35594February 7, 2015 at 6:29 pm #35595@style960@tjchester I did yeah…
February 8, 2015 at 9:59 am #35613February 8, 2015 at 3:41 pm #35635@photoflyHi,
is there also a css code to place fa-external-link icon before every link in blog content and bp content?Would be vry nice 😉
Thanks Jan
February 9, 2015 at 10:32 am #35684February 9, 2015 at 10:34 am #35685@alyssa-buddyboss
AlyssaParticipant@photofly add this to custom.css:
a[href*="//"]:not([href*="mysite.com"])::before { font: normal normal normal 14px/1 FontAwesome; content: '\f08e'; }
You can also change
::before
to::after
NOTE: Make sure to change mysite.com (excluding http:// is important)February 9, 2015 at 11:25 am #35689@photoflyperfect, thanks a lot!
February 9, 2015 at 3:10 pm #35704@style960@tjchester Still no different for me. I’ll PM you the site…
February 10, 2015 at 3:16 am #35741@photoflyhi,
only works with externel links for me..
is there also a possibility for internal links.
- The question ‘Place FA icons above link title’ is closed to new replies.