I would like to remove Cufon font and all of its instances (javascripts, styles, functions etc.).
Can you point me?
Thanks in advance!
(5 posts)
(2 voices)
I would like to remove Cufon font and all of its instances (javascripts, styles, functions etc.).
Can you point me?
Thanks in advance!
Hello csanyigroup,
Navigate to Dashboard -> inFocus -> General Settings and close to the bottom of the page check the "Disable Cufon" option.
Yes, this solves the Cufon diabling, but I want to remove it completely from all related files (custom.js, style.css, functions.php and other files).
That's not a good idea csanyigroup, can I ask why you would like to do that? In case you decide to add cufon again in the future then you would have to download a new copy of inFocus.
If you still want to get rid of the code then open up /wp-content/themes/infocus/lib/scripts/custom.js and comment out or delete lines 195 - 216. Though it does not matter if they are commented out or deleted, if you disable cufon in the admin then there is no point because the code does not get executed.
Ok, nice tip! Thank you very much!
You must log in to post.