Remove Cufon completely

resolved (5 posts) (2 voices)

  1. I would like to remove Cufon font and all of its instances (javascripts, styles, functions etc.).

    Can you point me?

    Thanks in advance!

    Posted 10 months ago #
  2. Elliott
    Support

    Hello csanyigroup,

    Navigate to Dashboard -> inFocus -> General Settings and close to the bottom of the page check the "Disable Cufon" option.

    Posted 10 months ago #
  3. 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).

    Posted 10 months ago #
  4. Elliott
    Support

    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.

    Posted 10 months ago #
  5. Ok, nice tip! Thank you very much!

    Posted 10 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme