2

I am using the lighthouse from chrome and I am getting the following: enter image description here

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>
    <font src="fonts/{FONT 1}.woff"/>
    <font src="fonts/{FONT 2}.woff"/>
    <font src="fonts/{FONT 2}.woff"/>
</head>

The thing is that I don't know how to remove it from core and preload it via using the <font>, like HERE. Do you have any suggestion how should I achieve this ?

Thank you

1 Answer 1

0

You can find them in the _typography.less and default_head_blocks.xml of the parent themes, you an apply XML remove as remove src="fonts/opensans/light/opensans-300.woff2" or overwrite less file in your theme

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.