Magento 2 – Fix Luma Icons Not Showing

customfontsmagento2theme

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?

<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
  <title>My Theme</title>
  <parent>Magento/luma</parent>
</theme>

Any ideas?

Best Answer

I not sure about customise in your layout of your theme.

rm -r var/view_processed/* pub/static/frontend/*
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

If eveything works your theme should be extend all assets from luma. If you use grunt you can deploy theme again

Related Topic