Starting with the OptimizePress updates on August 3rd, 2022, OptimizePress will no longer load the Google Fonts API as long as you are not using any Google Fonts on your pages created with OptimizePress.
We added this ability due to some legal interpretations of the EU GDPR law that has been in the WordPress news where some EU Countries have ruled that using the Google Fonts API violates GDPR laws.
Prepare Your Site
The first thing you should do is review the plugins you are using on your site. If any of your plugins are using text options that also load Google Fonts, you'll want to be sure those plugins have options similar to ours where the Google Fonts API won't load.
You should also check to make sure you are not using any custom scripts or CSS styles that call for Google Fonts.
Edit Existing Pages & Change Your Fonts
If you need to remove Google Fonts, you'll want to edit your pages to make sure that you are not using them. Our Typography settings would be helpful to handle this, however if you have a lot of different font colors then be careful when overriding the fonts as that may change the color to the one in our Typography Settings.
What Fonts Are Not From Google?
You may wonder what fonts in OptimizePress do not come from Google. There are actually many fonts that do not use Google such as Arial, Times New Roman, Tahoma, and others. We'll try to compile a list of these and update this guide as soon as possible.
Check if Google Fonts API is Loading on Your Page
Using Google Chrome, you'll want to view your page and then right click on the page after it loads and select "Inspect" from the menu.
Then click on "Sources"
If you see anything like this then you are loading the Google Fonts API
Other browsers such as Firefox may have similar features.
OptimizePress Font Editing Checklist
Changing all your fonts might not be easy in some cases, and you may inspect your page and still see Google Fonts being loaded.
Here are some tips on how you can make sure you don't forget any text options.
- Be sure to edit all text elements and choose something that is not a google font.
- If you have Optin forms, Checkout forms, Login or Signup Forms, or any other forms from OptimizePress, you'll want to also click on the fields in the form to be sure those are not using Google fonts either.
- If you are using any overlays on your page (even unconfigured ones) those could have Google Fonts selected already, so you'll want to be sure to check if you are using any overlays if you still see Google Fonts loading. If you see an overlay you are not using you may delete it. Or you can edit the overlay's text items to use something other than Google Fonts.
- Check the mobile responsive settings for any elements where you may have hidden something from the Desktop, Tablet, or Mobile View as you may have something that you can not see. Click the toggle for "Show all hidden elements" (on any element) and then you'll see all your hidden elements on the entire page.
- If you are using any elements that have multi-state settings, such as our Login & Signup form element, Course Button element, Lesson Button Element, or others, then please make sure you edit each state to change text to something other than a Google Font.
- If you are using Global Elements on your pages, please be sure that you also edit those and choose fonts other than Google Fonts.
If you still see the Google Fonts API loading on your page, then you still have text elements using a Google Font somewhere on your page and you'll want to be sure to go back through all the settings to try to find which one that is.
Self Hosting Google Fonts
If you still want to use Google Fonts without using the Google Fonts API, you'll have to self host the font. OptimizePress doesn't currently offer this ability out of the box, however we are considering this for a future update. Until then, you may have to use custom CSS on your pages after you install the fonts on your site.
We do have a guide on using custom fonts, however our support team can not assist with any aspect of using custom fonts as it is quite complex and not a feature that is part of OptimizePress.
Troubleshooting Google Fonts API Still Loading
In each case where we have been emailed saying this feature is not working, we have found elements or settings within elements that are using Google Fonts. We advise that you should re-check your page for text elements using Google Fonts if you still see the Google Fonts API loading.
While we would love to help with this, editing pages is not part of the support we can offer here. We are happy to advise you on the steps in this guide if you need additional help, however as much as we would like to allow this, our team can not check all your pages for you or edit them, but we are happy to advise on what else you may check on your pages.
If you have any questions about this, or any other features in OptimizePress please do let us know by submitting a support ticket and our team will do their best to help.