cancel
Showing results for 
Search instead for 
Did you mean: 

Luma theme changes but need a child theme?

Luma theme changes but need a child theme?

Hi, 

I have a question my Luma theme is under 'vendor' and not under 'app/design/frontend' that last one is basicly empty. But I read tutorials that I need Luma as a parent theme but it isn't in the same folder as suggest. 

 

Where I go for from here?

2 REPLIES 2

Re: Luma theme changes but need a child theme?

Hello @Lightme 

 

You need to create child theme of luma by following below steps:

Create app/design/frontend/ThemeName/theme.xml

<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../lib/internal/Magento/Framework/Config/etc/theme.xsd">
  <title>Luma Child</title>
  <parent>Magento/luma</parent>
</theme>

app/design/frontend/ThemeName/
├── simple/
│   ├── etc/
│   │   ├── view.xml
│   ├── web/
│   │   ├── images
│   │   │   ├── logo.svg
│   ├── registration.php
│   ├── theme.xml
│   ├── composer.json

Now override luma theme with specific file path and customise as per requirement.

 

It may help you!
Thank you.

Problem solved? Click Accept as Solution!

Re: Luma theme changes but need a child theme?

Hi, 

 

Thank you for your time to awnser my question but the main is in "root/vendor/" so how do I in 

  <parent>Magento/luma</parent>

Set the correct path to there? Just <parent>vendor/luma/</parent> (something like that)