My fontawesome icons are not showing correctly. They worked perfectly for months but now have disappeared – when referring to the numbers, not the icons by name. So for example, this is in my CSS code:
#ticketprice h2:before {
content: ‘\f145’;
font-family: ‘FontAwesome’;
color: #FFF;
padding-right: 10px;
font-size: 1.6em;
The icon (again, this worked perfectly for months) is now just showing as a small missing square and not the fa fa-ticket it’s supposed to be. It’s not the code – it is that somewhere a file is now missing. Please don’t try and troubleshoot the CSS (when referring to icons in CSS, it works better with the number file, not the fa fa-ticket)…but tell me where I can find/add the file that should make this work? For the record, I can add fa fa-ticket via Visual Composer and that does work….but I need to get this specific code to work. I let some idiot developers help me troubleshoot something last night and they took down my entire site. I’m trying to put it back together. Thank you.
FYI- installing the Font Awesome Icons plugin fixed the issue. So I know it’s not the code. But I’d prefer not have another plugin so if there is a better way to fix what I know worked without the plugin, that would be great. Thanks.
Hi @nycinsider,
I’m afraid that you (and all users they use Font Awesome) have to accept the “sacrifice”.
tagDiv has done things work well because saves external requests and in consequence improve performance.
Note, also FontAwesome changed their icons over the past several versions; but also note that TagDiv is using a “trimmed” version of FA as default font; it’s not the full FA font, since most people on a “magazine/news” portal don’t use all of the extraneous stuff.
Simple (sorta) fix is to change the function/style call for the TagDiv font to instead load the full FA fontset, if desired.
Advanced users can do this also, by downloading the full FA fontset, and/or going to fontello.com and build the set you need just for your needs.
In theory you could go to Fontello, build custom font with same name as the TD custom font and just replace it, but this is still on my personal ‘to do’ list, actually. I did this for our business site, but we have a very different in-house theme used there which is more B-2-B than TD theme.
Just food for thought on the topic 🙂
I’d love the answer to my question. Please consider this topic open. where I can find/add the file that should make this work?
Hello,
I suspect your fonts got changed vie css. Please remove any custom css in your theme panel or any custom code added in the theme files. Restore the theme to it;s default behavior without any interference and check the fonts again. Also disable all plugins except visual composer, clear cache and reset cdn files if you use it.
If you cannot manage to get the icons to show, please provide a link to your site pointing at such an elements and we will take a look.
It can also be a cdn issue like this topic suggests: https://forum.tagdiv.com/topic/strange-chinese-symbols-replaced-icons-and-arrows/
Thank you!
If there is any way to check this without the 6+ hours of work you just described, I would really appreciate it. Can anyone tell me what file this code is pulling from? I’d really love to try and check that file first before wasting another day on this (since the other developers took my site down already).
content: ‘\f145’;
font-family: ‘FontAwesome’;
If that coding isn’t working, is there a specific place I can look to see if a fontawesome file is there?
Thanks.
Hi,
Our theme does not use the font awesome files if you do not install the plugin. We use our own font icons found here: http://screencast.com/t/RgcAkorv30
Visual composer on the other hand uses it;s own font awesome files. In order to make sure the visual composer file structure is intact you can simply disable and delete the plugin and then install it again from here: http://screencast.com/t/H4lXvgzgeg
If the file structure is intact, then you will have to try the methods I exemplified above.
Thank you!
when I deactivate VC, it crashes the whole site. Functions Line 207 gives undefined error and causes the entire site not to render. This is how the NP theme is coded. How to update VC without crashing the site?
Hello,
We have no such reports of crashes happening when VC is not installed. The only safe method of updating Visual composer is this one: https://forum.tagdiv.com/how-to-update-visual-composer-plugin/ The process should not take more than a couple of minutes.
Thank you!
That is not a safe method for my site. As I said, deactivating VC crashes the site because of the coding in functions.php. So there is no way to get to Step 2 when Step 1 crashes the site. I have to remove lines 205-207 from functionsphp, reupload the file, then reinstall VC, then put back the original functions.
What version of VC should we be using right now? I’m at 4.11.2, which is the most recent on Envato.
https://forum.tagdiv.com/how-to-update-visual-composer-plugin/
Hello nycinsider,
The latest version of Visual Composer which come bundled with the theme (Newspaper 7.4) is 4.12.1. Please try to update the theme and all required plugins, clear all your caches and test again and check the results.
Thanks for your understanding!
OK. Please let me know when you
1) have the latest theme and vc on envato to download, and
2) have a way to update VC without first crashing the site.
Thank you!!!
Hello nycinsider,
Please notice that until now we do not have any bad reports about crashing the site when you try updating the Visual Composer. Use a maintenance plugin, update your Visual Composer according to our documentation because this is the only way for updating Visual Composer, clear all your caches and check the result.
Thanks for your understanding!
HI
Current version of Newspaper theme if V 7.4 available now on themeforest. In theme’s path is also included V 4.12.1 of Visual Composer. The best way to make a clean update is via FTP method for both theme and plugin. Follow our documentation to update the theme via ftp https://forum.tagdiv.com/install-via-ftp/ and do the same with Visual Composer plugin. Please folow this link for more details about how to install a plugin via ftp: http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/
To add new icons in theme’s fonts you will need a bit of codeing. Please check this link for more details in this regard: https://forum.tagdiv.com/topic/social-share-buttons-in-blog-posts/ My colleague Alin pointed a way here: http://screencast.com/t/7iiTHUHY
Hope this helps!
Thanks!
OK. I’ll ask for the fourth time. How do I update VC?
1) Deactivate VC
2) Entire site goes to 503 error with undefined error Functions Line 207
So then what? I don’t see what to do about that in any of your instructions.
I asked about a Font Icon that disappeared for goodness sake. That’s all I want. And you’re telling me to crash my whole site because it MAY help?
Hi
Do you get a 503 error when Visual Composer is deactivated? This is a server side error and is not related with the theme, please check this link for more details about it: http://www.checkupdown.com/status/E503.html Make sure that the parameters from system status have the values indicated in our documentation: https://forum.tagdiv.com/system-status-parameters-guide/ and your server meets theme’s requirements: https://forum.tagdiv.com/requirements-for-newspaper/
Let us know how it goes and if the problem persist please send us an email at contact@tagdiv.com with your login credentials and also provide ftp access. We will inspect this issue as soon as possible, also include a link to this topic ion your message.
Thanks!
As stated already –
when I deactivate VC, it crashes the whole site. Functions Line 207 gives undefined error and causes the entire site not to render. This is how the NP theme is coded. How to update VC without crashing the site?
As I said, deactivating VC crashes the site because of the coding in functions.php. So there is no way to get to Step 2 when Step 1 crashes the site. I have to remove lines 205-207 from functionsphp, reupload the file, then reinstall VC, then put back the original functions.
Deactivating VC crashes the site. Period. Not up for discussion.
ALL I WANT IS FOR THIS TO WORK: content: ‘\f145’;
CAN’T ANYONE JUST HELP WITH THAT?????
Hello,
Please contact us via email at contact@tagdiv.com and provide wp-admin so we can investigate this issue
Please also provide ftp access in case we need to access your files. Also include a link to this topic so we can identify you.
Thank you!
Hi,
If you want to add font awesome icons you should follow the official implementation guide found here: http://fontawesome.io/
Thank you!