Close

Moving Google Fonts style sheets to system files

jamesg
6 years ago
#14483 Quote
Avatar
  • 1
Hello, We have been speed testing the Venture theme with Yslow and one improvement we can make is to move the two google font files to the system css files;
https://fonts.googleapis.com/css?...
https://fonts.googleapis.com/css?...
Which file points to this style sheet and where is it located.
Is there any reason why we should not do this?
Many thanks, James
nikola.dragiev
6 years ago
#14486 Quote
Avatar
  • Moderator
  • 154
Hello,

The google font links are located in the Themes\Venture\Views\Shared\_Root.Head.cshtml file. You can add the files to the \Themes\Venture\Content\fonts folder and the CSS that links them can be added in the \Themes\Venture\Content\css\styles.css file. Basically, there is no tangible difference when you link the fonts from your website files or from google. Linking them from Google is an easier solution and gives you the maneuverability to include or exclude symbols that you will not need.
Best regards,
Nikola Dragiev
Nop-Templates.com