How to change the font in ArtFactory Theme?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
I want to change the fontsize as well as fontfamily of whole word of ArtFactory Theme. From where I can change it?
4 years ago
Hello,

To change the font you will have to go to the \Themes\ArtFactory\Views\Shared\_Root.Head.cshtml file and locate those lines:

    <link href='https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300&subset=cyrillic-ext,latin-ext&display=swap' rel='stylesheet' type='text/css'>
    <link href='https://fonts.googleapis.com/css?family=Kelly+Slab&subset=latin,cyrillic&display=swap' rel='stylesheet' type='text/css'>


You can replace the links with any other google font links you want.

Then you will have to go through the CSS files of the theme (\Themes\ArtFactory\Content\css) and replace "Open Sans Condensed", Arial, sans-serif; and "Kelly Slab", Calibri, sans-serif; with the fonts that you have decided to use. If you are using our plugins with the theme you will have to go through the theme-specific styling(e.g. \Plugins\SevenSpikes.Nop.Plugins.MegaMenu\Themes\ArtFactory\Content\MegaMenu.css) and change the font there also.

I hope I could help,
Nikola
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.