Questions tagged [fonts]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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’, @...
0
votes
0answers
21 views

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

In our Magento 2.3.5 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 ...
0
votes
1answer
12 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/...
0
votes
0answers
19 views

How to add custom fonts to magento 2

I need to add the following custom fonts to my magento 2 theme: DINNextboldPro GothamBold GothamLigh But I didn't make it, someone can help me please
0
votes
2answers
123 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') ...
0
votes
0answers
11 views

Custom font not loaded in Magento 2

I have new custom font that i want to add, before i already had a custom font which is PT Serif now i want to add new font PT Serif Pro, i tried to add it like this: app/design/frontend/Vendor/theme/...
2
votes
1answer
66 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,...
1
vote
1answer
249 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" ...
0
votes
1answer
139 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/...
0
votes
0answers
46 views

Why to declare to use a Font, as a Font?

I am loading web fonts from local directory and the following warning is showing The resource http://web.project.com/static/version1582708487/frontend/<vendor>/<theme>/de_DE/fonts/...
1
vote
0answers
29 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?
1
vote
0answers
26 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!
0
votes
0answers
4 views

adding new fonts at Magento Cloud

Hello I would like to add fonts and folder at /lib/internal/ BUT, since this is core folder, I cannot push files from there to server, where I should move this font folder? so I can get below code ...
1
vote
1answer
217 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. ...
0
votes
1answer
141 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-...
1
vote
1answer
280 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. ...
0
votes
1answer
20 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) ...
1
vote
1answer
110 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 ...
0
votes
0answers
21 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?
1
vote
1answer
3k 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 ...
2
votes
1answer
189 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('...
0
votes
2answers
109 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 -...
1
vote
1answer
662 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-...
2
votes
1answer
565 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
0
votes
1answer
301 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: <...
0
votes
2answers
765 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?
1
vote
1answer
49 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
5
votes
0answers
87 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 >...
1
vote
1answer
919 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" ?
0
votes
1answer
80 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....
0
votes
1answer
421 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 ...
1
vote
1answer
772 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/ ...
0
votes
1answer
525 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 ...
1
vote
0answers
110 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:...
0
votes
1answer
428 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){...
0
votes
2answers
2k 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? &...
0
votes
2answers
528 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
1
vote
3answers
11k views

Magento 2 - How to change fonts

How do I change the font family (at a theme level) to Helvetica in Magento 2.
0
votes
1answer
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 '...
3
votes
1answer
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: ...
0
votes
3answers
13k 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 ...
1
vote
0answers
208 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 ...
0
votes
1answer
334 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 ...
2
votes
2answers
1k 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 ...
0
votes
1answer
579 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 ...
-2
votes
1answer
544 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 ...
1
vote
2answers
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 ...
0
votes
1answer
522 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....
0
votes
1answer
495 views

Open Sans overwriting Lato ~ Magento 2.1

This question has not been answered anywhere else. There is another post like this but it's not the same issue. I have created a theme of my own, using Blank as the fallback. I have set Lato to be ...
0
votes
1answer
868 views

New Order Email - Need to change payment information font

We send out a New Order Confirmation and the font size of the credit card information and Processed amount are too big, I like to change the font size. I have tried to do this in the Magento Admin ...