When i am changing the fonts in Magento_Email/email/header.html template the fonts are not changing. If i import the url in email template also not changing the fonts.

Kindly please provide a solution for that.

2 Answers 2


Please put below code in command line after that its working :

 php bin/magento setup:static-content:deploy -f

Try below steps:-

sudo rm -rf var/*
sudo rm -rf pub/static/frontend/*

sudo chmod -R 777 /var/www/html/(project name)/
sudo php bin/magento setup:upgrade
sudo php bin/magento setup:static-content:deploy -f
sudo php bin/magento ca:cl
sudo php bin/magento ca:fl
sudo chmod -R 777 /var/www/html/(project name)/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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