Questions tagged [fonts]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
60 views

Moving fonts to preload issue in Magento 2

I am using the lighthouse from chrome and I am getting the following: I have 3 fonts from the core of Magento and I would like them to move it in my default_head_blocks.xml with: <head> <...
user avatar
  • 3,535
0 votes
1 answer
298 views

How to preload custom fonts in Magento 2.2

I have a custom font in my theme already added through the "web/css/source/_typography.less". & when (@media-common = true) { .lib-font-face( @family-name: @font-family-name__base, ...
user avatar
  • 101
0 votes
1 answer
339 views

How to add custom font in DOM pdf in magento 2?

I have tried to add font using below code in head tag of html but it is not working. DOM PDF is showing it's default font. But i want to show custom fonts as per my website. So tried below code @font-...
user avatar
  • 1,948
1 vote
1 answer
125 views

M2 - Custom Font overwriting by bootstrap css in custom theme

I have laca adobe font, and my _typography.less & when (@media-common = true) { .lib-font-face( @family-name: @font-family__base, @font-path: '@{baseDir}fonts/Laca-Regular', @font-...
user avatar
  • 103
0 votes
2 answers
186 views

M2 - How to include my custom font in custom theme?

How to apply adobe laca font, https://fonts.adobe.com/fonts/laca How to apply? I am created custom theme inherit from blank theme. Custom font declaration : app\design\frontend\Myrwd\mytheme\web\css\...
user avatar
  • 103
0 votes
2 answers
359 views

Magento 2: add custom font to theme

I'm using a custom theme on my Magento 2.3.2. I would like to add a custom font that is on my folder. Since the official guide that i found on magento's site wasn't working for me, I've tracked down ...
user avatar
  • 63
0 votes
1 answer
204 views

Add custom font to magento 2 module

I am building a module with Magento 2. I need to add custom font. All I did is to create a Module/NameSpace/view/frontend/web/css/source/_typography.less .lib-font-face( @family-name:'circular’, @...
user avatar
1 vote
1 answer
815 views

Magneto 2.4 - Remove Blank-Theme-Icons/Blank-Theme-Icons.woff2

In our Magento 2.4 we created our own theme based on the Luma theme. Now we found out that every page loads the Blank Theme Icons font. /fonts/Blank-Theme-Icons/Blank-Theme-Icons.woff2 How can we ...
user avatar
  • 1,474
0 votes
1 answer
51 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/...
user avatar
2 votes
1 answer
2k views

Luma Icons - add font-display:swap

How can I add font-display:swap to following Luma icon fonts @font-face { font-family: 'luma-icons'; src: url('../fonts/Luma-Icons.woff2') format('woff2'), url('../fonts/Luma-Icons.woff') ...
user avatar
2 votes
1 answer
576 views

Google fonts issue as per new URL format

I have added google font in default_head_blocks.xml file like this: <link rel="stylesheet" type="text/css" src="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,...
user avatar
1 vote
1 answer
1k views

Add Google Fonts using Google's new URL format

Guides I have seen as to how to add Google Fonts to Magento 2 tend to require adding the font link via your XML such as <link src="fonts.googleapis.com/css?family=Montserrat:300,400,500,700" ...
user avatar
  • 325
0 votes
1 answer
951 views

Magento 2.3 custom font not loaded in email

We want to use the 'Open Sans' font of Google in our transactional email templates. But when we sent the email it does not load the custom font inside the email. We changed the file /app/code/design/...
user avatar
  • 1,474
1 vote
1 answer
57 views

Magento2 - Adobe XD to Magento2 font size

On the xd design the font-size is 55 and when I apply this font-size in my Magento layout It is bigger ? Why is it so?
user avatar
1 vote
0 answers
50 views

Magento 1.9 print invoice the characters are shown split and reverse

I have changed the font of pdf invoices to support Arabic characters, but the problem is the characters are split and reversed? Any suggested solution please Help!
user avatar
  • 11
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. ...
user avatar
  • 134
0 votes
1 answer
1k views

Email template fonts not rendering in gmail

I want to know how we can use our custom fonts rendering inside email template. I searched a lot to this answer but didn't find how to do that. So far I have already changed the content of email-...
user avatar
1 vote
1 answer
578 views

How to change font source url from local to CDN?

I have uploaded google fonts on the local server to a custom directory and it seems to work well so far except that the Ultimo theme I am using is picking the base URL to generate font URL path. ...
user avatar
  • 461
0 votes
1 answer
26 views

What is the steps to include custom fonts in a newly created theme in magento 2 using typography.less?

I am adding a custom font in my newly created theme in magento 2. Below are the steps which i am doing: 1. Placed custom fonts in /app/design/frontend/Vendor_name/Theme_name/web/fonts 2) ...
user avatar
  • 115
1 vote
1 answer
204 views

How to use custom fonts via pub folder?

I would like to call paid fonts via pub folder. I create the specific font folder in pub i.e pub/static/frontend/Mageplaza/ultimate/en_US/fonts and linked it my custom.css file font family is not ...
user avatar
  • 11
0 votes
0 answers
26 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?
user avatar
1 vote
1 answer
5k views

Magento 2: How to view/implement Magento icons from 'icons-blank-theme' font-family

I am currently developing a custom theme using Magento 2.3. I am altering the sidebar menu, so that its top-level items are collapsible and an arrow appears beside them when clicked, the same as the ...
user avatar
  • 654
2 votes
1 answer
344 views

How to add google font in transactional email template Magento 1.9?

I'm new to magento and i have little problem with fonts. Is there a way to use some google fonts in my transactional emails template? I've tried to use google font using below way `@import url('...
user avatar
0 votes
2 answers
193 views

Magento 2 how to add Fonts?

I tested my site speed on Gtmetrix and it showed fonts rendering through https://fonts.googleapis.com/css?family=Montserrat:400,600,700|Roboto:400,400i,700 . And it is called in theme layout as -...
user avatar
  • 377
3 votes
1 answer
1k 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-...
user avatar
2 votes
1 answer
2k views

How to add and use a custom font in Magento 2?

I purchased a magento 2 theme, but the theme uses the Google api font. How can I use a custom local font? Magento ver. 2.3.0
user avatar
  • 49
0 votes
1 answer
429 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: <...
user avatar
  • 2,052
0 votes
2 answers
2k views

how to remove Open Sans font in magento 2

I need to remove Open Sans font in our Magento2 site. I have inherited the luma theme, so how to override the blank theme _typography.less file?
user avatar
1 vote
1 answer
70 views

How to change the font for a specific store view in magento 2.2.6

I have two store-views which are English and Arabic and would like to change the font of the Arabic store-view for all front-end contents. please any help
user avatar
  • 11
5 votes
0 answers
167 views

Magento 2 icon font position problem (navigation menu)

Magento2 - I am trying to put some icons in my navigation menu, I want them to be on top of the subcategory name but this is what I have until now: This is my code for the first item, I have it in >...
user avatar
1 vote
1 answer
1k views

How to edit font size of product title in catalog page

I need to edit the font for the product titles in the catalog page. I believe it is referenced by "product-item-link" or "product-item-name" ?
user avatar
  • 11
0 votes
1 answer
102 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....
user avatar
  • 381
1 vote
1 answer
577 views

Magento 2.1 product page change wishlist button to font icon

Magento 2.1 product page I need to change the wishlist button to font icon "heart" which is the default in the luma theme, but when I apply my theme it shows a button... Does anyone knows how to ...
user avatar
2 votes
1 answer
1k views

Magento 2.1.9 frontend font icon extend

I need to change only one font icon -the cart icon. I tried a few guides: https://www.classyllama.com/blog/icon-fonts-magento-2-foundation http://rossmchugh.com/extending-magento2s-icon-font-system/ ...
user avatar
0 votes
1 answer
574 views

How to change the font on styles.css

I found out that the font is on styles.css using the inspect mode(ctrl+shift+i), but when I change it and upload it via FileZilla and refresh the page it stills the same font as before, I'm completely ...
user avatar
  • 25
1 vote
0 answers
115 views

Magento Email Templates Font Face

How can I use my custom font-face in magento email templates? I use the next codes: @import url('https://fonts.googleapis.com/css?family=Roboto'); And @font-face { font-family:...
user avatar
0 votes
1 answer
609 views

Magento 2 Invoice PDF contains weird character if comments are added in multiple lines while generating invoice

Magento by default do not display comments in pdf. So I wrote this code. $commentsCollection = $source->getCommentsCollection(true); $internalcomments = ""; if($commentsCollection){...
user avatar
  • 1,973
0 votes
2 answers
3k views

Magento 2: Why are my luma icons not showing?

I made a custom theme with luma as my parent theme. Somehow it's only showing the icons of the blank theme and not the one of luma. Do I need to copy any fonts or declare them in my custom theme? &...
user avatar
0 votes
2 answers
570 views

How to change the font for a specific store view

I have two store-views which are English and Persian(RTL) and would like to change the font of the Persian store-view for all front-end contents. Magento ver 1.9.2.4
user avatar
2 votes
3 answers
16k views

Magento 2 - How to change fonts

How do I change the font family (at a theme level) to Helvetica in Magento 2.
user avatar
0 votes
1 answer
1k views

Magento 2.1.4. Change font

I am trying to import a font (have Luma theme installed) with no success. Browsed similar threads about this, made changes in typography and variable files, but still can't get rid of the default '...
user avatar
  • 135
3 votes
2 answers
2k views

How to remove lib-font-face from Magento 2

I've created a theme in Magento2 which inherits from the Luma theme. So it has inherited it's lib-font-face, which can be found in the styles-m.css @font-face { font-family: 'luma-icons'; src: ...
user avatar
  • 4,613
1 vote
4 answers
21k views

Magento 2 : How to Include New Fonts

I have added new fonts in <my theme>/web/fonts, and declared those fonts in <my_theme>/web/css/source/_typography.less. But still my custom fonts not reflecting in my pages. I'm missing ...
user avatar
  • 1,189
2 votes
0 answers
292 views

"Font has not been set" error when printing invoices

Trying to print invoices. I get the error "Font has not been set" and it refuses to generate PDFs. This error seems to be linked to certain orders, though there is no rhyme or reason. The next ...
user avatar
  • 31
0 votes
1 answer
388 views

Magento 1.8 remove default google font from head

I searched Stackexchange but my question is different from others. I saw a similar question with Magento 1.9 but that solution does not work on 1.8. So therefor I ask my question. I noticed that the ...
user avatar
2 votes
2 answers
2k views

How to change h1 font size on homepage

I want to change the font size of my h1 tag on the homepage. I am using Chrome inspect and it tells me the css changes are actually inside the page itself, not css. So I look at source code: /* Theme ...
user avatar
0 votes
1 answer
631 views

Blank Squares instead of Font Awesome

I am using a Magento 1.9.1 installation with Ultimo Theme. It is running two websites at the same time. This has been working for two years. Recently, I decided to create a whole new website on the ...
user avatar
-2 votes
1 answer
582 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 ...
user avatar
  • 366
1 vote
2 answers
2k views

Hebrew words in PDF invoice are reversed and currency symbol not showing

I'm using magento 2 CE 2.1.3 When I'm trying to prin PDF invoice the hebrew words are reversed, for example: םולש instead of שלום. And also the currency symbol (NIS ₪) is not showing. I have seen ...
user avatar
  • 75
0 votes
1 answer
609 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....
user avatar
  • 1