Remove google fonts from Divi Theme

I tried several ways to remove google fonts from Divi like described here:

„https://technumero.com/remove-google-fonts-from-wordpress-theme/“

or here:

https://gist.github.com/mkrdip/f165408f23e2c645161b

But I did not get them to work.

Divi adds the google font with the function

And one can remove a function from a parent theme in a child theme with the remove_action() function from wordpress. So I added the following code to the child themes function.php:

And that worked!

I found this solution at:

https://code.tutsplus.com/tutorials/a-guide-to-overriding-parent-theme-functions-in-your-child-theme–cms-22623

To make use of web fonts it is best to host them on your own server. You can find many fonts and a description on how to use them here:

https://google-webfonts-helper.herokuapp.com/fonts

Useful websites

This page presents a collection of websites which I find guide useful and informative. I just add links as I come across sites by chance. I do no research about these topics.

You can find free images on pexels.com or on Pixabay

Nice color palettes can be found at Flat UI Colors

The Stocks: a website with many links to images, videos, icons, colors and fonts

If you need some user data for test cases you can get random data from Random User Generator.

Typography: https://www.gridlover.net/try

Typography: http://grid.mindplay.dk
On the one hand, this website is outdated because it creates grids with floats, but on the other hand this site can still be useful for creating css for your fonts.

HTML & CSS Templates: https://templated.co/
Templates for free under the Creative Commons Attribution 3.0 license: https://templated.co/license

Play around with CSS Grid: http://cssgridgarden.com

Grid by example

Email:

Email testing can be done with: https://mailtrap.io/

Draw a polygon: https://bennettfeely.com/clippy/

Optimizing:

Check your page speed: https://www.pagespeed.de/ or even better with: https://tools.pingdom.com/

Minify: https://developers.google.com/speed/docs/insights/MinifyResources

Page Speed Insights Rules (from google): https://developers.google.com/speed/docs/insights/rules

which is part of: https://developers.google.com/web/fundamentals/

Other stuff:

An article about anonymous web surfing from Bill Hess on Pixel Privacy

A list of styleguides can be found at: http://findguidelin.es/

I consider webflow worth to look at.

Clip-Path: http://bennettfeely.com/clippy/

Spaceship Operator, The Null Coalesce Operator and the Splat Operator

<=>

that’s it for the spaceship operator. Consider its use with usort

The null coalesce operator is used like this (e.g. check if a get var is set):

$id = $_GET[‚id‘] ?? 0;

This is much shorter than $id = isset($_GET[‚id‘]) ? $_GET[‚id‘] : 0;

Splat Operator for unpacking an array:

See also: php.net

For more information and other new features in PHP 7 visit:
http://php.net/manual/en/migration70.new-features.php

Splat Operator was introduced in php 5.6 as far as I remember.