0

Referencing this article below:

https://www.codextblog.com/magento-2/create-a-custom-child-theme-from-luma-theme/

Having followed all of the steps, our theme is created and applied, but none of the files are being read.

So for example, the content of the default.xml is not being applied to the site.

Any ideas of possible reasons why?

I found this article:

Magento 2 custom theme layout xml and css not working

But this isn't the issue. We have the type as 0 not 1 there.

None of the xml or CSS files we have uploaded are being read. For example, applying a Google font, is not showing in the section of the source pages of any page. Static files have been deployed, cache cleared etc. But not overriding the Luma theme.

1 Answer 1

0

And does that mean you have deployed the content?

php bin/magento setup:static-content:deploy

this is discussed here: Magento 2 custom theme layout xml and css not working

6
  • Yes, content already deployed. We use this query for that - php -dmemory_limit=6G bin/magento setup:static-content:deploy en_GB -f --jobs=4
    – MagentoMac
    May 13, 2020 at 8:36
  • kk and you've updated the file default_head_blocks.xml (as luma uses, just lift and shift)?
    – mada ecol
    May 13, 2020 at 11:35
  • Yes. In this location - /app/design/frontend/Magento/nordicoutdoor/Magento_Theme/layout/default_head_blocks.html
    – MagentoMac
    May 13, 2020 at 13:56
  • Great, so the less you written is being deployed right? 'php bin/magento setup:static-content:deploy' maybe force it too, any good?
    – mada ecol
    May 15, 2020 at 10:59
  • The files are being deployed, just not picked up and the xml and css files within the child theme folders are not being read for example.
    – MagentoMac
    May 15, 2020 at 13:07

Your Answer

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

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