Skip to content
Farin Theme Guide
GuidesSite Appearance

Font

This tab sets the font of all the store’s text: page text, headings, text size and weight. Farin has two Persian fonts, IRANSansX and Anjoman, and if you have bought another font you can upload its file. Every change is saved on the spot and the sample at the top of the tab updates with it.

Where is it? Farin → Site content → Site Appearance → Font

Preview at the top of the tabAt the top of the tab are a few sample lines: a heading, a product name with a price, a form label, a paragraph and Persian and Latin digits. With every choice, this sample is redrawn with the new font and size, so you see the result here before looking at the site.

Site text font

The site text font box with two cards, IRANSansX and Anjoman
Each card shows a sample of that font; the selected card is colored.

The font of all the site’s text comes from here: pages, buttons, forms, invoices and the Elementor widgets that have the “Text” or “Accent” font. Fonts you upload yourself appear beside these two cards with an “Uploaded” label.

Heading font

The heading font box with font cards
Headings can have a font separate from the text.

This font applies to h1 to h6 headings and to Elementor’s “Primary” and “Display” fonts. For example, set the text to IRANSans and the headings to Anjoman.

One font, one downloadIf the text font and heading font are the same, the shopper’s browser downloads only one font file and the page is ready sooner. A second font means one more file.

Size and spacing

The size and spacing box with text size 16 px, line spacing 1.8 and letter dot size
Text size, line spacing and, for IRANSansX, the size of the letter dots.
OptionWhat it doesDefault
Text sizeThe size of normal text in pixels, from 12 to 20. The site’s other sizes are calculated relative to it, so making it larger makes everything slightly larger.16 px
Line spacingThe space between the lines of a paragraph, from 1.4 to 2.4. For Persian text, 1.8 to 2 is more readable.1.8
Letter dot sizeVisible only when the text font is IRANSansX. It sets the size of the dots on letters such as “ب، پ، ت، ث” from 1 to 8. “Font default” means the dots stay at the font’s own designed size.Font default

Weights

The weights box with four lists: normal text, medium text, bold text and headings
The text weight in four places on the site, each set separately.

Each list runs from “Thin 100” to “Black 900”. If your uploaded font does not have all the weights, choose the nearest weight it has.

OptionWhat it doesDefault
Normal textThe weight of paragraph text.Regular 400
Medium textLabels and menus.Medium 500
Bold textBold text and prices.Bold 700
HeadingsThe weight of h1 to h6 headings.Extra bold 800

WordPress dashboard font

The WordPress dashboard font box with three options
The font of the WordPress admin pages and the login page.
OptionWhat it does
IRANSansXThe WordPress dashboard is written in IRANSans. This is the default.
Same as the site text fontThe dashboard also takes the font you chose for the site text.
WordPress’s own fontFarin does not touch the dashboard font.

The Farin panel always stays in IRANSans, whichever you choose.

Custom font

The custom font box with the Add font and Save fonts buttons
Here you upload a font file you have bought.

Upload a font file with the extension woff2, woff, ttf or otf so it can be chosen for text and headings beside the theme’s fonts. The file is served to the shopper from your own site, not from another service.

  1. Click “Add font”. A new card opens with a place for the name and several places for files.
  2. Write the font name. For example “Vazir”. This same name appears on the font card and in Elementor’s font list.
  3. Add the files. If your font has a Variable file, fill in only the “Variable file (all weights)” spot. Otherwise, put the file for each weight you have in its own spot: Regular 400, Medium 500, Bold 700 and Extra bold 800.
  4. Click “Save fonts”. The font appears in the “Text font” and “Heading font” cards and is also in Elementor’s font list.

“Remove” removes one weight’s file, and the × button beside the name removes the whole font.

The file must really be a fontBefore accepting a file, Farin checks its first few bytes. A file that merely has a woff2 or ttf extension but is not a font is not accepted. Font upload is open only to users who have permission to upload media and access to the “Site Content” section.
Font licenseCommercial Persian fonts have web-use licenses. Upload a font you have a license to use on the site.

Frequently Asked Questions

In Elementor I set another font for a widget. Does this change it?

No. Widgets that use Elementor’s “Text”, “Accent”, “Primary” or “Display” font follow this tab. A font you pick by hand in the widget itself stays as it is.

I don’t see the “Letter dot size” option.

This option is shown only when the site text font is IRANSansX, because only that font has such a setting.

Bold text doesn’t get bold with my own font.

You probably haven’t uploaded that weight’s file. Either put the file for that weight in the font card, or in the “Weights” box choose a weight whose file you have.

Farin Theme · 1405