I am facing an issue where the Font-Family changes for my heading tags, but the body tag keeps getting cancelled out by the error "_reboot.scss:50
". When I inspect my webpage and toggle off the default "enter code here
font-family: var(--bs-body-font-family);", the font selected in the CSS works perfectly.
I have attempted both importing and linking the Google Font using:
<style>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;900&display=swap');
</style>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;900&display=swap" rel="stylesheet">
CSS Selector used for the body:
body {
font-family: 'Montserrat', sans-serif;
}