If you want to add new custom fonts in your theme then follow below Instruction.
Let’s say you need to add your font.woff file in your theme web/fonts folder, then you need to import that font in Magento, so you need to create new file _typography.less in your theme web/css/source/ folder.
and add your fonts like below
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
& when (@media-common = true) { .lib-font-face( @family-name: "Neue Plak W04 Regular", @font-path: '@{baseDir}fonts/65781df7-af4a-4a7e-8a89-83876affcd78', @font-weight: normal, @font-style: normal ); .lib-font-face( @family-name: "font-family-name-here", @font-path: '@{baseDir}fonts/{your-woff-font-file-name-here}', @font-weight: normal, @font-style: normal ); } |
[crayon-63e0a5a16e7df169742235/] Using above fucntion Images can be imported directly from...
Override view block using di.xml and add the below code...
You can check a list of called layout XML for...
Follow the below steps to install and set up PWA...
If you want to remove all leading zero's from order,...
Let our Magento expert connect to discuss your requirement.
We offer Magento
certified developers.
Our Magento clientele
is 500+.
We sign NDA for the
security of your projects.
We’ve performed 100+
Magento migration projects.
Free quotation
on your project.
Three months warranty on
code developed by us.