Skip to main content

can it disable web font that if page loaded in smartphone?

Comments

3 comments

  • Alex

    Hi,

    With builder options, you can't do that. If you are a developer and you will be able to do this it would be great if you share this with the community.

     
    0
  • Arimichi Kondo

    When I searched for the method myself, I was able to delete the web font (googlewebfont) only on the smartphone by the following method.

    1.Install Autoptimize on wordpress.

    2.Add the following code at line number 262[after "$options      = $this->options;"] in the autoptimizeExtra.php of the Autoptimize plugin.

    //code:-----------------------------------------

            if(wp_is_mobile()){
                $options['autoptimize_extra_radio_field_4'] = '2';
            }
    //-------------------------------------------------
     
    Please edit the plugin at your own risk.
    We hope you find this information helpful.
     
    0
  • Alex

    Hi,

    thanks for sharing ;)

    0

Please sign in to leave a comment.