I am new to
Magento 2. I am having difficulty in creating a child theme. However I have created the child theme now I am facing how to add source for child them.
In my configuration, I have created child theme of
Luma, which is child theme of
Magento blank theme. I want to extend all css from either parent or grand parent. So decided to not give same name which already exist in parent theme (
I am planning to add
_extend-child.less to the parent theme and keep it blank. And creating same filename in child theme where I can add my own CSS or can add call child sources. Now my question is:
- As luma theme is primarily present in vendor directory. I cannot add
_extend-child.lesshere as it might override on upgrade. How could I copy this to
- Does copying the complete folder
- Does changing code on
app/design/frontend/Magento/would not be affected on theme update/upgrade?
- Any standard way to include my child CSS to luma theme.
Thanks in advance.