Skip to main content

Questions tagged [font-family]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
47 views

Magento 2 : How Can I disable woff2 format?

How can I disable woff2 format for fonts in Magento 2? I need .lib-font-face to connect only woff.
WhoYou's user avatar
  • 55
0 votes
1 answer
207 views

how to change font for email templates in magento 2.4.5-p2

I am using "Olegnax Athlete2" theme for my magento2.4.5-p2 store. I want to change my email template fonts to "futura pt book". can someone guide me to do the same.
Sikanderpreet Singh's user avatar
0 votes
1 answer
222 views

Magento2 How to use custom fonts in Homepage

Does anyone suggest me how i can use custom fonts in my magento website ? I want to use "Red Rose" Google Fonts. i already download that font family and upload to my theme file "app/...
Sanjay Shiyal's user avatar
1 vote
1 answer
1k views

Ensure text remains visible during webfont load: Doesn't work on added fonts

In our Magento build we have a custom theme that uses Luma as a parent. After doing an Audit in Chrome we get the message Ensure text remains visible during webfont load and it lists the following. ...
Gezzasa's user avatar
  • 134
0 votes
0 answers
29 views

Magento 2.2 - It is possible to change the font on the Magento Admin?

Do we need any themes or we can change the font from the existing Magento files as we change the fonts on the frontend?
Ejilarasan J's user avatar
3 votes
1 answer
2k views

Magento 2 font-display: swap

How is it possible to add to Magento 2 fonts font-display: swap ? I don't find the correct way in the typography.less, or in a custom CSS file, it breaks all the CSS. .lib-font-face( @family-...
C. vally's user avatar
0 votes
1 answer
578 views

Magento2: How to use custom font

I have download and upload custom font in backend: After save in editor I not see this font name: Anyone help how can I use this font ? @update I solve issue in this way. After upload font: <...
Sylvester's user avatar
  • 2,234
0 votes
1 answer
122 views

Website breaks after adding external font to default_head_blocks.xml

I created a custom theme that inherits from another theme that in turn inherits from Magento Luma theme. I added the the file default_head_blocks.xml to my theme: <page xmlns:xsi="http://www.w3....
Jens's user avatar
  • 401
2 votes
2 answers
4k views

Magento 2: Font family does not change. How to troubleshoot?

I created a child theme that inherits from theme X that in turn inherits from Magento Luma Theme. Hence, Theme inheritance is as follows: Magento Blank <- Magento Luma <- Theme X <- My Theme ...
Jens's user avatar
  • 401
2 votes
2 answers
4k views

Magento 2 - How to add Font Family in admin panel wysiwyg editor?

Need to add font family in wysiwyg editor.
KHIMAJI VALUKIYA's user avatar
-2 votes
1 answer
683 views

Google fonts not working in Firefox [closed]

I just realised that Firefox won't show the Google font 'Josefin Sans' which I'm using in my Magento store. Chrome displays it correctly, though. I'm using Magento 1.7. I wasn't sure about whether ...
LeCodeur's user avatar
  • 366
0 votes
1 answer
669 views

How to use fonts in Magento from fonts-family installed in theme/fonts?

I added the code line below in local.xml with link to google, but we do not want to rely on an external url. <action method="addLinkRel"><rel>stylesheet</rel><href>//fonts....
Gael's user avatar
  • 1
1 vote
0 answers
314 views

Online font not loading

I tried using a Adobe Typekit font with the following method. I add this to my default_head_blocks.xml inside my <head> tag: <script src="https://use.typekit.net/oti3nzu.js" src_type="url"/&...
Dawesign's user avatar
  • 231
1 vote
0 answers
846 views

How do I add a Adobe Typekit font to my Magento shop

I am wondering how I can get my Typekit font working on my Magento site. Normally it works like this. HTML markup: <head> <script src="https://use.typekit.net/oti3nzu.js"></script> ...
Dawesign's user avatar
  • 231
1 vote
1 answer
2k views

magento2 google font not working

My default Head block is like this <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> &...
Rakhi's user avatar
  • 183
1 vote
1 answer
1k views

how do add new font in magento2 with custom module in frontend?

in magento2 we add new font in .xml file .I have idead create module manager fonts in admin magento2. so how to get all font name in core, and set new font in front-end? I don't know i can edit .xml ...
xanka's user avatar
  • 2,114
3 votes
3 answers
7k views

Magento 2 - Remove 'Open Sans' font

How can I remove default fonts ('Open Sans', 'Helvetica Neue' and Helvetica)? I just use Arial and sans-serif only.. Thanks
Phuong Ntk's user avatar
0 votes
1 answer
638 views

INR Symbol with Tamil font in Magento invoice PDF

I am using Magento version 1.9.2.2. By default, it supports Rupee symbol and Tamil font in both frontend and admin panel. But, When i have printed the order invoice, it appears as boxes. Which (tamil) ...
Saravanan DS's user avatar
  • 1,126
1 vote
1 answer
384 views

Remove fonts but default theme is still loading them

I am customizing rwd theme, i have removed railway font from the theme using local.xml file and i have verified it checking inspect element in browser below is my local.xml code. <?xml version="1....
Soeb Safi's user avatar
  • 313
8 votes
1 answer
22k views

How can I add Google Fonts in magento2 [closed]

How can I add my Google fonts in the Magento2 head in layout file? Does anyone have the dea?
Hitesh Koshti's user avatar
2 votes
3 answers
9k views

How can i solve font downloadable error "downloadable font: OS/2: bad linegap:"?

How can i solve font downloadable error for magento site show as follow: downloadable font: OS/2: bad linegap: -32 (font-family: "ThemeIcons" style:normal weight:normal stretch:normal src index:1)...
matinict's user avatar
  • 1,559
0 votes
1 answer
550 views

Magento new font for admin theme

i like to add a new font to magento admin theme, for that i put the font file in "FederalLawyer/skin/adminhtml/default/lawyeradmintheme/fonts" in my css file i called : ------------------------ @...
senthil's user avatar
  • 1,729
0 votes
2 answers
3k views

Add custom font-family to magento email template

I have used the lato family lato font in frontend. I need to add this font-family in email template also.
saravanavelu's user avatar
  • 3,951