+91-9560121007

+1-929-243-5550

Twenty Twenty-One: A Deep Dive into the New Default WordPress Theme

:root{

/* Font Family */

–global–font-primary: var(–font-headings, -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Oxygen-Sans, Ubuntu, Cantarell, “Helvetica Neue”, sans-serif);

Now we know what to change!

Copy the –global–font-primary declaration from the parent’s stylesheet and paste it to your child’s style.css. Then, change the property name and value as shown below:

:root{

/* Font Family */

–global–font-primary-child: var(–font-headings, Ubuntu, -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Oxygen-Sans, Cantarell, “Helvetica Neue”, sans-serif);

–global–font-family-child: var(–global–font-primary-child);