-
AuthorPosts
-
January 17, 2016 at 6:53 pm #566823
Hi!
I have been trying different code combinations for inserting a fontello icon (\ue877) directly into text code, but nothing works. Any idea?
Regards
PoirotJanuary 17, 2016 at 7:29 pm #566827Hi!
So far I have this solution for inserting an icon and attaching a link:
[av_font_icon icon='ue877' font='entypo-fontello' size='32px' ]
The problem is that the icon either appears at the right or left side of my container, instead of immediately after the text where I put it.
Regards
PoirotEdit: To attach the link I put the code above between an “a ref”
- This reply was modified 8 years, 10 months ago by Poirot.
January 18, 2016 at 6:37 am #566940Hi,
Could you provide us with a link to the site in question so that we can take a closer look please? A screenshot highlighting what you are trying to achieve might help us understand better as well.
Regards,
RikardJanuary 18, 2016 at 6:20 pm #567298Hi Rikard,
If you go to fastcompany.com you can see what I mean. In the top menu, next to the link “Features”, there’s an “arrow-down”. This is the kind of arrow icon I would like to use, for instance, in a <div> element after text with a Read More link.
I found I can insert icons through Enfold shortcode. The problem is the alignment. The arrow is never displayed directly after the text, just like the link mentioned above.
Regards
PoirotJanuary 19, 2016 at 6:35 am #567634Hi,
Ok, what if you wrap your shortcode in a span element?
<span>[av_font_icon icon='ue877' font='entypo-fontello' size='32px' ]</span>
Regards,
RikardJanuary 19, 2016 at 1:08 pm #567804Hi Rikard,
Thank you for your help. I tried adding the span element, but that didn’t change anything. I googled again and found a thread with a solution, that allows to position the icon inline, however now the line-height automatically increases and I don’t see how I can undo that in the code. I’ll try to find another way to use, or not use, the icons since it doesn’t seem to be working for me.
https://kriesi.at/support/topic/fontello-icons-in-text/
Regards,
PoirotJanuary 20, 2016 at 6:35 am #568396Hi Poirot,
Ok, please let us know if you should need any more help on the topic.
Regards,
RikardJanuary 20, 2016 at 1:58 pm #568604Hi Rikard,
Ok, thank you!
Regards,
Poirot -
AuthorPosts
- The topic ‘Insert fontello icon’ is closed to new replies.