I am new to Magento.
I am creating Magenta 2 site, I have managed to install Magento, and for it to use the luma theme.
I want to be able to edit the theme (through Inheritance), I understand it uses XML files to design the layout, how do I change these, should they be in the new theme folder, and change them there?
If so, where do I get the origonal Luma xml files, or does magento create these? – There are no themes within the app/ folder, is it here where I create the new theme (that inherits from Luma)?
Many thanks for any help, I am completely new to Magento.
2
Answers
You have to create a custom theme and make
theme.xml
and set a parent to LUMA.Now
app/design/frontend/customthemename
So anything that you want to customized used in customthemename folder
Thanks
Firstly, create a new theme directory in app/design/frontend.
Secondly, declare the new theme by:
basic info of the new theme.
and Themes.
Thirdly, apply and configure theme in admin: – Run Upgrade Command. – Apply the theme. – Deploy.
For more detailed tutorial, go to Guide to create Magento 2 theme.
For example, with homepage CMS, the XML file is located in
vendor/magento/module-cms/view/frontend/layout