Questions tagged [parent-child-theme]

Magento parent/child infinite theme fallback system is new as of version 1.9.0. The system provides a pathway to set a parent theme to inherit the layout and themes of the parent.

Filter by
Sorted by
Tagged with
20 votes
3 answers
22k views

How to create a Child Theme in Magento 2

I want to modify certain aspects of the out-of-the-box Luma theme but I would like to do it by preserving the original file(s) and also ensuring that whenever I update Magento I preserve my changes as ...
H. Ferrence's user avatar
  • 1,021
6 votes
4 answers
7k views

Magento 2.2.4 Upgrade issue : Area is already set

I have upgraded to version 2.2.4 from 2.2.3 now I'm getting error when try to save theme seting
Ketan Borada's user avatar
  • 2,593
5 votes
1 answer
1k views

How to add new theme name to grunt CLI command to run grunt tool in Magento 2?

When we clone new theme from existing parent theme in Magento 2. How we can execute less:newThemName command using grunt CLI ? As well as how grunt watch will look any changes into newly created ...
Praful Rajput's user avatar
1 vote
1 answer
3k views

How to add custom css file specific to language or store in magento2 [duplicate]

in my project i have 2 store one is for en other is ar_KW , i am creating new locale called ar_KW when i run magento setup:static-content:deploy ar_KW it will create a ar_KW folder in pub static ...
Pradeep Kumar's user avatar
14 votes
2 answers
6k views

Correct way to Update a Theme's Parent in Magento 2

In Magento 2, you can specify a parent theme in a theme's theme.xml file. <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/...
Alana Storm's user avatar
  • 44.3k
14 votes
3 answers
2k views

Is there a local theme layout XML file other than local.xml?

I've built a theme by creating and editing the following file: frontend/mypackage/default/layout/local.xml I have a store view "site1", and wish to make exceptions on the default local.xml of "...
Gerard Nijboer's user avatar
3 votes
2 answers
4k views

Completely overwrite parent theme layout from the default.xml file of the child theme

I am working on a Magento 2.1.7 shop. To achieve this, I have created a child-theme of Magento Blank. I am new to Magento unfamiliarized with the complexity of overwriting the parent theme's layout ...
Razvan Zamfir's user avatar
3 votes
1 answer
5k views

parent and child themes

I have followed the article here, http://alanstorm.com/magento_infinite_fallback_theme_xml and I have it working 99%. There is an odd thing happening that clearing the cache and all the moving around ...
Quantum's user avatar
  • 553
2 votes
3 answers
2k views

Sub-theme not working

I have a theme that I bought and downloaded and followed the instructions to create a sub-theme. If I edit the core theme files I'm able to achieve what I want but if I replicate it in the child ...
joseph drury's user avatar
0 votes
1 answer
134 views

Magento Production Custom theme custom css file is not loading

My custom theme is not loading the compiled Less CSS file. In the theme layout XML, I am loading the CSS files as below in default_head_blocks.xml: <page xmlns:xsi="http://www.w3.org/2001/...
Zammuuz's user avatar
  • 420