I'm having an issue with my Montserrat font not displaying correctly. It appears as the standard style instead of the intended one. I have tried adding the specific style in the link, like this:
<link href="https://fonts.googleapis.com/css?family=Montserrat|Ubuntu" rel="stylesheet">
However, I don't want all elements to have the same style. I specifically want my h1 heading to be styled in Montserrat Black, so I added the following CSS:
h1 {
font-family: "Montserrat-black";
}
Unfortunately, I am not seeing the desired effect. If I try adding a style for black like this:
<link href="https://fonts.googleapis.com/css?family=Montserrat:black|Ubuntu" rel="stylesheet">
The black style ends up being applied to the entire page rather than just h1. Can someone please assist me with how to achieve the result I'm looking for?