@import Google Font not working within css filesSOLVE
Mar 24, 2020 4:12 PM - edited Mar 24, 2020 4:12 PM
Hey there Everyone,
I am trying to add a different font to the css stylesheets attached to the website I'm designing and I can't seem to get a new google font to import with the URL link and font-family reference.
Would anyone be able to show me what I'm doing wrong here?
This is the import link in the first stylesheet:
Here is the font-family reference:
font-family: 'Raleway', sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
If you need anymore info to help me clarify this, please let me know.
As always your help is greatly appreciated.
Solved! Go to Solution.
Mar 25, 2020 5:08 PM
You have an issue in your starter.css file. CSS renders based on order of operation, so since it is included after reset it is superceding it. In starter.css, line 6252 there is a CSS for the body tag that reads:
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"
When you take out that line the reset css file that you have begins showing the Raleway font again.