Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Flexform › Using Font Awesome Icons – being stripped with SPB?
New Landing › How can we help? › Themeforest Theme Support › Flexform › Using Font Awesome Icons – being stripped with SPB?
- This topic has 11 replies, 3 voices, and was last updated 10 years by Kyle – SUPPORT.
-
Posted in: Flexform
-
January 7, 2014 at 8:22 pm #40858
I’m trying to use Font Awesome icons inline in the SPB, but they are being stripped out.
For example, I’m trying to use it within a text block – in the content area of the text block I have this (specific text is replaced by dummy text to hide my client info):
<h2>My H2 Heading</h2>
At the end of that heading I want to place an RSS icon with a that links to the RSS feed, so I tried this:
But it’s being stripped out when updating the content/page.
If I don’t use SPB, it seems to work.
How can I accomplish this within SPB?
Thanks!
January 9, 2014 at 10:01 am #41289Can you please paste the code you’re trying to add into “code” tags, that’s what they’re for ๐
Otherwise we cannot see your code properly, unless you added the same code twice intentionally?Thank you!
January 9, 2014 at 6:39 pm #41426Sorry, my bad. The code I was trying to use was this:
<h2>My H2 Heading <a href="http://linkurl.com" class="icon-rss-sign"></a></h2>
January 13, 2014 at 12:44 pm #42041Try adding the icon like so:
<i class="icon-rss sf-icon sf-icon-float- icon-small"></i>
as per http://flexform.swiftideas.net/shortcodes/icons-links-with-icons/
Let me know if that works ๐
January 13, 2014 at 5:07 pm #42168I don’t see a reference to that particular code usage on the page you referenced – am I missing something?
I’ll try it and get back to you!
January 13, 2014 at 5:14 pm #42171Nope, it’s still stripping it out. We’re using a SPB Text Block with an <h2> element in it and, if I place the code you gave within the h2 and enclose it with an a href link, then save it, everything still gets removed other than the h2 tags.
January 13, 2014 at 7:46 pm #42226Hi,
Please can you send me the link to the page you are trying to do this on, and if you don’t mind providing me with the login details so that I can take a look at this issue.
I’m guessing it’s because when you change from Text editor to Visual editor it strips out the icon markup as it is not supported in the TinyMCE editor.
– Kyle
January 13, 2014 at 10:35 pm #42262This reply has been marked as private.January 14, 2014 at 8:49 pm #42492Please can you set up a new user, I do not have access to Ed’s email to change the password.
– Kyle
January 15, 2014 at 9:14 pm #42795This reply has been marked as private.January 15, 2014 at 9:17 pm #42796No I totally understand, I will be extremely careful!
– Kyle
January 15, 2014 at 9:39 pm #42803You’re right it does get stripped out. I will inform Ed of this issue, it may be a TinyMCE problem not the theme.
However you can replace the text box with the custom html element and paste this:
<h2>Avid Blogs NAMM 2014 <a href="#"><i class="icon-rss"></i></a></h2> <p>Follow this blog leading up to and during the convention to get the latest news and announcements at NAMM.</p>
This works.
Hope this helps.– Kyle
-
Posted in: Flexform
You must be logged in to reply to this topic.