0

I created a new theme. I want to use the Luma theme as the base theme.

theme.xml

<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
   <title>My Template</title>     <!-- your theme's name -->
   <parent>Magento/luma</parent>   <!-- the parent theme, in case your theme inherits from an existing theme -->
</theme>

But it looks like this:

enter image description here

2
  • Did you enable your new theme from backend??? Nov 5, 2019 at 8:50
  • Yes, I activated it.
    – Black
    Nov 5, 2019 at 8:53

1 Answer 1

0

I had to execute these commands:

php bin/magento cache:clear

php bin/magento setup:upgrade

php bin/magento setup:di:compile

Edit: Im not sure why, but now many ressources are pending and can't get loaded.

enter image description here

Edit 2: I noticed that they are just getting loaded extremly slow for unknown reasons, but after a while all get loaded successfully.

4
  • is it working fine for you ? Nov 5, 2019 at 9:35
  • Yes, now it works.
    – Black
    Nov 5, 2019 at 9:37
  • ok great :) thanks Nov 5, 2019 at 9:39
  • But it always loads now, many ressources cant get loaded... they are pending
    – Black
    Nov 5, 2019 at 9:40

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.