By Julie Kubiak on Monday, 25 October 2021
Posted in General
Likes 0
Views 1.1K
Votes 0
Hi,

Could you take a look and see what I have done wrong. I’m trying to add a TikTok icon using the Custom Icon field on the Charm template but it won’t appear.

It’s on our live site template http://www.Masquerading.Global
Hi there,

I've updated the FontAwesome to v5.15.2 and applied some fixes on your site. Following are the changes.


/templates/charm/css/font-awesome.min.css <--- updated to v5.15.2
/templates/charm/css/fa-v4-shims.css <--- added this file for backward compatibility with FAv4
/templates/charm/css/v4-shims.min.css <--- added this file for backward compatibility with FAv4
/templates/charm/fonts/fa-brands-400.woff <--- added these font's files
/templates/charm/fonts/fa-brands-400.woff2
/templates/charm/fonts/fa-regular-400.woff
/templates/charm/fonts/fa-regular-400.woff2
/templates/charm/fonts/fa-solid-900.woff
/templates/charm/fonts/fa-solid-900.woff2
/templates/charm/fonts/fa-brands-400.ttf
/templates/charm/fonts/fa-regular-400.ttf
/templates/charm/fonts/fa-solid-900.ttf

/templates/charm/index.php <--- applied a fix to this file.
// Line: 98
$theme->add_css('font-awesome.min.css');
$theme->add_css('v4-shims.min.css'); // Added this line.
$theme->add_js('jquery.sticky.js, main.js');


/templates/charm/features/social.php <--- applied a fix to this file.
// Line: 107
if (count($explt_custom) > 2) {
$explt_custom[0] = array_shift($explt_custom) . ' ' . $explt_custom[0];
}
// Line: 111
$html .= '<li class="social-icon-custom"><a target="_blank" href="' . $explt_custom[1] . '"><span class="'. $explt_custom[0] . '"></span></a></li>';


And I've also updated the custom social button in the HelixUltimate setting. Check out the attached screenshot.

Rest assured these fixes will be available in the next release of the Charm template, but it is best practice to create a backup before updating any components/templates on your site.

Hope this helps.
Thanks.
·
Tuesday, 26 October 2021 17:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I've checked your site and it seems like the TikTok icon is not yet available in FontAwesome v4.7.0. TikTok icon was added in FontAwesome v5. https://fontawesome.com/v5/changelog/latest

Anyway, can I have your permission to update FontAwesome to the latest version so that you'll be able to use this icon?

I'm sorry for the inconvenience caused.
Thanks.
·
Tuesday, 26 October 2021 12:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, go ahead please.

Also can you let me know what the fix is so I can apply it to our other site http://www.MasqueradeDating.Global
Or I also give you permission so you can also apply it to that site too.
·
Tuesday, 26 October 2021 13:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Many thanks Yasser
Looking at all of that, I’ve I’m not in any rush to apply it to the dating website, so I’ll wait for the next release
·
Tuesday, 26 October 2021 19:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusion in the future. Please start a new thread if you have any other issues in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Tuesday, 26 October 2021 23:06
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post