July - WooCommerce WordPress Theme
  • Introduction
  • Getting Started
  • Changelog
  • Installation
    • Step 1 - Download Theme
    • Step 2 - Install Theme
    • Step 3 - Theme Setup
    • Step 4 - Select home page
  • Update Theme
  • Theme Options
  • Header/Footer Builder
  • Customize
    • General
    • Header
    • Blog
    • Portfolio
    • Shop
    • Page Title
    • Typography
    • Popup
    • Color
    • Layout
    • Page
    • 404 Page
    • Footer
    • Social Sharing
    • Notices
    • Button
    • Menus
  • Store Setup
    • WooCommerce
    • Product Catalog
      • Products Filter
      • Catalogs Elementor
      • Catalog Grid
    • Product Page
      • Color Swatches
      • Image Swatches
      • Time Countdown
      • Stock Countdown
      • Real Time Visitor
      • Trust Badge
      • Video / 3D / VR
      • Delivery Infomation
      • Size Guide
      • Buy more save more
      • Product Layout
      • Add To Cart
      • Product compare
      • Product wishlist
      • Product quick view
    • Size Guide
    • Delivery Return
  • Translation
    • Setup Multiple Language
    • Setup One Language
  • FAQ'S
    • How to fix the problem can't install a theme when using file.zip after downloading to Evanto
    • How to fix problems with the footer in mobile
    • Fixing Fonts appear as bold or do not load (Kirki issue)
    • How to import the template
    • How to import the missing page template
    • How to config currency?
    • How to create Google Maps API For Free
    • Site Speed
    • How to Increase PHP Time Limit for a WordPress Site?
    • Setup Menubar
    • How to create Mega Menu
    • Customizing header
    • Fixing Outdated WooCommerce Templates
    • How to create Woocomerce Pages
    • How to backup the theme
    • How to Configure WordPress to Use SMTP For Sending Emails?
Powered by GitBook
On this page
  1. FAQ'S

Fixing Fonts appear as bold or do not load (Kirki issue)

PreviousHow to fix problems with the footer in mobileNextHow to import the template

Last updated 1 year ago

Updated: 15th March 2024

A font rendering issue appeared this week within the Kirki plugin. Fonts now either appear all bolded, or in some cases, don’t render correctly at all, reverting to the browser defaults.

This appears to be due to how Kirki retrieves fonts from Google’s API. It looks for woff fonts rather than the woff2 type. Something has changed within Google’s API and the woff versions are not retrieved correctly.

Modify Kirki directly

This approach changes the core Kirki plugin to ensure that it retrieves woff2 files rather than woff.

Edit this file: july/inc/admin/kirki/modules/webfonts/class-kirki-fonts-downloader.php

Replace line 191 with this line:

$user_agent = 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0';

Next install the plugin.

And look for: kirki_remote_url_contents

And delete that transient. This has an expiry of 7 days so it will eventually flush by itself if you wait long enough.

Test the site now, and the fonts should display again.

You can remove the Transients Manager plugin afterwards.

Transients Manager