in magento2 we add new font in .xml file .I have idead create module manager fonts in admin magento2. so how to get all font name in core, and set new font in front-end?

I don't know i can edit .xml file with custom block?

any suggestion?

1 Answer 1


Include link for the font in header of Magento using the below-mentioned code

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        <link href="https://fonts.googleapis.com/css?family=Space+Mono"

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.