@Agnik7
Posted
Hi, I think I know why the font weight was not working. When importing Google Fonts, you need to select the font weights as well. For example, A ROBOTO font will have different options, like 300 light, regular 400, bold 700 etc. You need to select all the font-weight you plan on using. Then you don't need to download the font pack, it will work with the cdn only.
Hope this helps solve your issue.
Happy Coding!!
Marked as helpful
@cgambe
Posted
@Agnik7 Thanks a lot, but I did select 400 and 700 but it was still not working.
@Agnik7
Posted
@cgambe Were you writing
font-weight: bold;
or
font-weight: 700;
@cgambe
Posted
@Agnik7 font-weight: 700;
@Agnik7
Posted
@cgambe how were you importing it? Using <link>
or @import
?