Add Custom Fonts

We will add our custom fonts used with BricksCart child theme.

With BricksCart we are using two font families: "Playfair Display" and "Inter Tight".

So, both font files are provided with the product zip file, which are downloaded from google fonts.

Files path in the product file: Extract the zip file, downloaded from the account, After extracting the zip you will get a folder, open it > open the folder named 'BricksCart-Font-Families' > Now two folder 'Lato' and 'Plus-Jakarta-Sans-v8-latin' > open both one-by-one, and upload these font versions in the custom fonts.

Font-weights using with BricksCart

  • Playfair Display: 400, 500, 600, 700, 800.

  • Inter Tight: 300, 400, 700, 900.

Important: Do not change font family name from 'Playfair Display' and 'Inter Tight' to something else without uploading the font family locally on the site, because then the fonts will not work. However, to change the font family make sure to upload the font family on the site and then change in the variables. such as:

1. --font-family-a: Playfair Display 2. --font-family-b: Inter Tight 3. --btn-font-family: Inter Tight So, If you change the custom font family name(also named as 'Custom Font family Title) i.e. 'Font Lato' instead of 'Lato', then make sure to change it in the variables as well such as: --font-family-a: Font Inter Tight else, font-family would not work.

Here is a quick guide on how you can install the custom fonts:

Last updated