- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022
11:57 AM
07-15-2022
11:57 AM
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?
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022
11:12 PM
07-15-2022
11:12 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2022
02:13 PM
07-18-2022
02:13 PM
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)