Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 82367

remove google font?

$
0
0

Replies: 0

Looking to remove the google fonts… it just uses ubuntu – which could be loaded locally from the site.. but for now I am fine with switching to helvetica or anything to get rid of this extra loading, pagespeed stealing, privacy slaying, uneeded “free resource”.

I see:

\iconic-one\functions.php (1 hit)

Line 100: wp_enqueue_style( ‘themonic-fonts’, add_query_arg( $query_args, “$protocol://fonts.googleapis.com/css” ), array(), null );
Line 299: if ( wp_style_is( ‘themonic-fonts’, ‘queue’ ) )
Search “googleapis” (1 hit in 1 file)
Line 100: wp_enqueue_style( ‘themonic-fonts’, add_query_arg( $query_args, “$protocol://fonts.googleapis.com/css” ), array(), null );

and

line 439: in stylle.css
body {
font-size: 14px;
font-family: “Ubuntu”, Helvetica, Arial,

was thinking of over-writing the body style tag in the child theme css – and then adding a de-enque / dequeue script call in the child theme functions.php – is this best way.. and how exactly should this be done?

Would be nice to see this as a checkbox function to remove in the backend someone..

help definitely appreciated!


Viewing all articles
Browse latest Browse all 82367

Trending Articles