can it disable web font that if page loaded in smartphone?
I want to disable the web font in the original theme when I access it on my smartphone.
How do you do this?
I can read the headers in the original php file.
0
-
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 -
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 -
Hi,
thanks for sharing ;)
0
Please sign in to leave a comment.
Comments
3 comments