How can I locate and remove Google Fonts from my website's code?

Hello,

this is my first question here. I have to ask because I really can’t find a helpful answer.

We got a warning from a lawyer-chancellery because of a Google Font on our site (www.itpieces.de). If we have to pay or not will be shown, but I want to delete the Google Font now and can’t find it in the code.

In the screenshot (and I read it has to be there) was a line

<link href="https://fonts.googleapis.com/css?family=Carter+One" type="text/css" rel="stylesheet">

in the 4th row in the source code. But when I opened it, this line was not there.

However I want to delete this line but I can’t find it.( I looked through all files, that could have anything to do with the fonts/style/loading something.)

Please, does anybody has an idea of where to find the loaded fonts, so I can delete the google fonts?

That would be great. Thank you.

1 Like

@hannapfa

yes, please just remove that link automatic remove this font your store

Hi @KetanKumar
the line with the link that I quoted was just from a screenshot. When I open the source code, I don’t see this line.

So that’s why I don’t know where I can delete it.

@hannapfa

yes, please send theme.liquid code

Hello,

here it is: (theme.liquid)


  

  
  {% include 'limespot' %}

  
  
  

  {% if settings.favicon %}
  
  {% endif %}

  
  
  
  	

  	

  {% if page_description %}
  
  {% endif %}

  
  {% include 'social-meta-tags' %}

  
  
  
  

  
  {{ 'timber.scss.css' | asset_url | stylesheet_tag }}
  {{ 'theme.scss.css' | asset_url | stylesheet_tag }}

  

  
  {{ content_for_header }}
{% render 'webyze-infinitelivepreviewoptions', template:template, product:product %}

  {{ 'jquery-2.2.3.min.js' | asset_url | script_tag }}

  

  {% comment %}
    If you store has customer accounts disabled, you can remove the following JS file
  {% endcomment %}
  {% if request.page_type contains 'customers/' %}
    {{ 'shopify_common.js' | shopify_asset_url | script_tag }}
  {% endif %}
  
  
  
  {{ '//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css' | stylesheet_tag }}

  

        {{ 'paymentfont.scss.css' | asset_url | stylesheet_tag }}
      
{% include 'easy-discounts-stack' %}
{% render 'wishlisthero-styles.liquid' %}
  

  

  
  {% section 'header' %}

  

  {% section 'footer' %}

  {%- if request.page_type == 'index' -%}
    

      {{- 'home_page.slideshow.navigation_instructions' | t -}}
    

  {%- endif -%}

  {% if request.page_type == 'product' or request.page_type == 'index' %}
    {{ 'option_selection.js' | shopify_asset_url | script_tag }}
  {% endif %}

  
    - {{ 'general.accessibility.refresh_page' | t }}

    - {{ 'general.accessibility.new_window' | t }}

    - {{ 'general.accessibility.new_window_and_external' | t }}
  

  {{ 'theme.js' | asset_url | script_tag }}

    {% render 'hextom_fsb_main', product: product, customer: customer %}
    
  
 
  
  
 {%comment%}  {% include 'iwish_v2' with 'iwishfooter' %}{%endcomment%} 
  
  
{% if template contains "product" %}{% render "product-personalizer" %}{% endif %}

{% render 'spurit_stp-theme-snippet' %}

{% render 'quantity-breaks-now', customer: customer, template: template, product: product, cart: cart %}
        

{% include 'whatsapp-share' %}

{{ '//cdn.shopify.com/s/files/1/0194/1736/6592/t/1/assets/booster-page-speed-optimizer.js?23' | script_tag }}
{% render 'banana-stand-footer' %}

For everyone interested, it was not in the theme but in one app: “freeshipping bar”. So switching the font in that app made us free of Google fonts.

Follow these steps:

  1. In your admin login, customize your theme

  2. Select “Theme Settings” (in the navigation pane on the left)

  3. Select “Typography”

  4. Uncheck checkboxes for Google Fonts

  5. Save and exit

For everyone else: the app “LayoutHub” can cause this too in the “layouthub_header.liquid”.

1 Like

@Xselar

can you please share the store URL?