Questions tagged [fonts]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
21 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
17 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
84 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 ...
0
votes
0answers
17 views

Magento 2 Email custom font working preview but not working in Email

I'm following This https://devdocs.magento.com/guides/v2.0/frontend-dev-guide/templates/template-email.html But not solved
2
votes
1answer
60 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
53 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
170 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-...
1
vote
1answer
82 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
102 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
1answer
114 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
32 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
4
votes
0answers
39 views

Magento 2 icon font position problem (navigation menu)

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 untill now: This is my code for the first item, I have it in >Magento ...
0
votes
0answers
45 views

Way to implement specific font family for Maintenance page of Magento (1.9.3.7)?

As known for too many people, when creating the maintenance.flag file, a custom (or default) maintenance page will show. Is there a way to implement a specific font family for that page? The font to ...
0
votes
1answer
540 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
57 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
293 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
388 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
463 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
95 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
281 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
3answers
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
479 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
6k 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
746 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 '...
2
votes
1answer
770 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
2answers
8k 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
132 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
268 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 ...
1
vote
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
516 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 ...
0
votes
1answer
444 views

Google fonts not working in Magento

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
1k 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
344 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
408 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
605 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 ...
0
votes
2answers
81 views

Fonts getting smaller when _theme.less is created

I'm running 2.1.2 but since 2.0.1 I'm facing the same problem. I have a custom theme and when I created file "_theme.less" under my template's structure (web/css/source) all those icons based on ...
2
votes
1answer
1k views

Adding custom font to _typography.less parse error

I try to add some custom fonts to my theme, so I created file app/design/frontend/vendor/theme/web/_typography.less and added the code inside of it: .lib-font-face ( @family-name:'OpenSans ...
1
vote
0answers
245 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"/&...
7
votes
1answer
6k views

font awesome icon without cdn - magento 2.0.8

I am looking to integrate font awesome icon into magento2. I have downloaded font-awesome version 4.6.3. The tree structure of the font-awesome folder is shown below. I referred this link and got ...
0
votes
1answer
74 views

Magento SSL - Fonts makes trouble - Please Help!

I´ve a problem with the SSL in Magento. Firefox says it blocks some content on the site. My Blocking Tools says this fonts are blocked: (click screenshot to enlarge) But I can´t find these fonts ...
2
votes
2answers
3k views

Magento 2: How to add multiple locally stored fonts?

I want add one locally stored font in my custom theme folder. I followed the instructions here: http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/css-topics/using-fonts.html But the ...
1
vote
1answer
2k views

Adding new fonts to Pdf invoice Magento 2?

When working with Pdf invoice, I meet a problem about encoding Japanese font. I'm going to add a Japanese font(Gothic) to Pdf invoice, creditmemo, etc. What should I do? We may rewrite abstract \...
0
votes
0answers
1k views

Font from origin as been blocked from loading by Cross-Origin Resource Sharing policy on multiple websites magento

I have created two websites using one magento installation, like: abc.com (original) xyz.com (second domain) Both are working fine except the fonts issue I got on sub domain (second website). Error ...
7
votes
2answers
1k views

How Does Magento 2 Generate the admin-icons Font Files?

In Magento 2, the icons for backend Menu Items are Private User Area code points added via a custom font file. The _typography.less file appears to ship with the ability to conditionally include one ...
3
votes
1answer
1k views

How Does Magento Include the admin-icons.svg File?

In Magento 2, the icons for the backend Menu are Unicode code points that are part of the Private User Area code point range, and appear to be defined via the file vendor/magento//theme-adminhtml-...