We’re rewarding the question askers & reputations are being recalculated! Read more.

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
18
votes
2answers
16k 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 ...
5
votes
1answer
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 ...
3
votes
1answer
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 ...
6
votes
3answers
6k 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
14
votes
3answers
1k 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 "...
14
votes
2answers
4k 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/...
2
votes
2answers
2k 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 ...
1
vote
1answer
2k 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 ...
2
votes
3answers
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 ...
0
votes
1answer
103 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/...