Re: Use Font Awesome behind an h1 (header) element?
Posted 11 years 9 months ago
I answer my own question;
The best way I find to be able to add font Awesome to h1 or whatever is:
I add a Span class (with the icon-whatever Awesome class) inside the Header code.
in this following example I add the spot class to be sure I don’t overrule the template css.
Note; If you use JCE you can add those Awesome Span as template and add them where you want.
Example:
<h2 class=" orangetitle "><span class="icon-star spot "> </span>Service d’aiguisage de patins et maintien d’équipements</h2>
Now I need help to make a Less rule that will take in consideration all the possibilities for the span class
Example:
<span class="icon-star spot "> </span>
or
<span class="icon-cog spot "> </span>
or
<span class="icon-whatever spot "> </span>
I know I can do that but I’m not to sure how?
Looking..... and trying (need to learn that Less but not to much time to do so...)
Graphic Designer - Marketing -Web Sites — Trying to become a decent human being.
www.grafcomm.ca