Use Google Fonts In Custom CSS

By: Michael Clark | Asked: 03/22/2024
ForumsCategory: How-toUse Google Fonts In Custom CSS
Michael ClarkMichael Clark asked 1 month ago
Whats the best way to use Google fonts in custom CSS? 
1 Answers
Faisal AhammadFaisal Ahammad answered 4 weeks ago
You can use the following code to use Google fonts in Custom CSS.   @import url(',wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap')   .selector {   font-family: "Roboto", sans-serif; }  
Faisal AhammadFaisal Ahammad replied 4 weeks ago

Better code view:
Source code:

Michael ClarkMichael Clark replied 3 weeks ago


Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community