Site logo

Archived topic

FontWeight issue after the new Google Font Typography

4 replies · Started by Eric on November 17, 2021

Viewing posts 1–5 of 5

Hi,

I was trying to use the improvements for the font selections but I cannot change the fontweigth through the typography customization.

Below is what is created from the typhography customization. h1 has 800 as you can see.

h1 {
font-family: Tahoma, Geneva, sans-serif;
font-weight: 800;
font-size: 42px;
}

h2 {
font-family: Tahoma, Geneva, sans-serif;
font-weight: 700;
font-size: 30px;
}

h3 {
font-family: Tahoma, Geneva, sans-serif;
font-weight: 600;
font-size: 24px;
}

h4 {
font-family: Tahoma, Geneva, sans-serif;
font-weight: 600;
font-size: 20px;
}

h5 {
font-family: Tahoma, Geneva, sans-serif;
font-weight: 400;
}

h6 {
font-family: Tahoma, Geneva, sans-serif;
font-weight: 300;
}

Now before all of that in the html file, the following is also present. It overwrites the font-weigth of 800 above.

h1.entry-title {
font-weight: 700;
}

h2.entry-title {
font-weight: 700;
}

Where are the above "entry-title" defined? It's not in my "Additional CSS" and I do not have custom CSS.

Any thoughts? this is the page I am using https://dividendearner.com/my-retirement-number/
I have the latest GP Premium in place.

Thanks.

As a note, I checked all of the css files used and none have it. It's definitely added through the theme in the html style section.

Hi Eric

These CSS selectors you've mentioned are styles generated from your customizer settings.

It's taken from the value set on Appearance > Customize > Typography. It's from Site Content Title (h1) and Archive Content Title (h2). You can change it from there. :D

Got it. I understand the new setup now :)

Thanks for explaining.

No problem. :)

This archived topic is closed to new replies.