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.

38 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
49 views

Magento2.2.5 Luma child theme not using default_head_blocks.xml in child theme folder

I have a Magento 2.2.5 based multi-store view website. What we want to do is take the Luma theme and create a custom child theme from it. Each store view (we have 3) would use its own child theme of ...
3
votes
0answers
229 views

Magento 2 theme HELP

Not long ago I made my first Magento 2 custom/child theme so that my website changes won't be erased when I upgrade to another version. I now want to override some core Magento 2 files that I need ...
3
votes
1answer
113 views

Using _extend in a grandchild theme

I have a question regarding how Magento 2 Less handles _extend. According to the documentation http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/css-guide/css_quick_guide_approach.html I can ...
2
votes
1answer
1k views

Getting Cannot read property 'nodeName' of undefined in magento 2 console

I am getting this error on all of the pages except the HOMEPAGE, i am using a custom theme whose parent theme is LUMA.
2
votes
0answers
1k views

Page layouts in Magento 2 — matching old .phtml files

short of it I need to dynamically set the htmlClass of a <container> that is defined in the layout file. <?xml version="1.0"?> <!-- /** * Copyright © 2015 Magento. All rights ...
1
vote
0answers
80 views

Magento 2 Parent's theme styles are not loading in the child theme

I have create a child theme that extends from magento-luma theme by following the steps below: app/design/frontend/Company/parent/registration.php <?php \Magento\Framework\Component\...
1
vote
0answers
22 views

magento 2 extend theme only on desktop

In a child theme (luma is parent), how do I extend a desktop theme but not mobile? something like: if desktop "color:teal;" else "" <--- do nothing. I'm using _extend.less, so far changes are ...
1
vote
0answers
57 views

Error in css and js in child theme in Magento 1

I'm having a problem loading style sheets and scripts. I created a child theme, and I did not add any css or js to it. Even so, the magento looks for them in the son theme instead of the father. I'll ...
1
vote
1answer
158 views

Magento Theme not applying on 1.9

I am using Magento 1.9 and using the theme elegance . I have installed the theme manually from extracting the files in root directory and by following the instructions in the site domain. But my theme ...
1
vote
0answers
83 views

Magento 2 : Child theme not displaying Products

I've created child theme based on(Parent) default luma theme. I had this setup with My Magento 2.2.3 with Sample Data. Child theme is working fine, I enabled it. But problem i am getting is that ...
1
vote
1answer
48 views

Custom layout .xml in child-theme works locally, but not on the server

I have a strange problem. In our custom child-theme we have some simple layout files, for example removing the wishlist links and sidebar or moving page title, category image, etc into the content ...
1
vote
1answer
268 views

Child theme not being picked up on product detail page

I'm using Porto theme. I have created a child theme and its working everywhere but the product detail pages. On those pages it falls back to the default porto theme for all of its templates. For ...
1
vote
0answers
409 views

Magento 2 with blank theme : no product on the homepage

With Blank Theme activated on my fresh install of Magento 2.1.3, all the sample data products of the front page don't show up anymore. Is this a bug ? If not, how can I get the products to show up in ...
1
vote
0answers
45 views

Magento2 custom theme suddenly stops working

First I have installed a third party theme Third/customtheme (its parent theme is Third/maintheme) and parent of Third/maintheme is Magento/blank on my Magento2 installation, then using Third/...
1
vote
0answers
50 views

Custom design for Category with exception

I have 4 themes (desktop, desktop_child, mobile, mobile_child). I currently set desktop for default (desktop) theme (System -> Configuration -> General -> Design -> Themes -> Default) and an ...
0
votes
0answers
9 views

magento2 mobile child theme layout frontend not call?

<?php namespace LR\MobileThemeDetect\Observer; use Magento\Framework\Event\Observer; use Magento\Framework\Event\ObserverInterface; use Magento\Framework\View\DesignInterface; use Magento\Theme\...
0
votes
0answers
6 views

Magento 1.9.2.4. Error when creating child theme

Error when creating child theme: the custom styling and some basic functionality are missing. Any ideas what is still going wrong? app/design/frontend/theme/custom/etc/theme.xml <?xml version="1....
0
votes
1answer
30 views

How to delete custom child theme in magento2

I clone my theme to set child theme. I deleted child theme folders in app/design/frontend/ and app/code//ThemeOptions/fixtures but in admin backend it's not removed. I flush cache , Please let me know ...
0
votes
1answer
29 views

Magento2.2.5 make root.phtml load from child theme folder

I am developing a custom "child" theme based off Luma and wondering how I might add a custom root.phtml . I have copied the entire contents of the vendor/theme-frontend-luma to my app/design/frontend/ ...
0
votes
0answers
11 views

Few admin grid not loading : M2.1.14

I'm using magento 2.1.14 version and in admin side i'm not able to access Content > Design > Configuration grid. In console tab of browser error showing it's: TypeError: this.storage(...) is ...
0
votes
0answers
14 views

Change system config from child theme

I would like to know if it's possible to change some default system value with a child theme. For example, if I go to Configuration > Catalog > Product Review > Allow Guests to Write Reviews....
0
votes
1answer
118 views

Changes in Parent Luma theme is not reflected in Child Luma theme in Magento 2.3.0?

I have created seven child themes and one parent theme for these seven child themes. All seven child themes points to their parent theme, we've named "Master". <theme> <title>Child ...
0
votes
1answer
70 views

Magento 2 Child theme of Luma change media query

I have a custom theme that is a child of Luma. I see the styles-l min-width is set at 768px. Up until then the styles-m is active. I know if it was in my custom theme I could set that in my ...
0
votes
0answers
50 views

Magento 2.1.16 theme fallback not working on NGINX server

Thank you for the help. I already did it and it worked a bit. But there were other sections of the theme which were broken. Finally, after spending some more issue, I found that after upgrade to ...
0
votes
1answer
331 views

Error in developing magento 2.2 theme (Warning: DOMDocument::loadXML(): …)

config: php 7.0.22 mamp 4.2 Magento-2.2.2 without sample data localhost running. Hello! Currently I'm trying to learn how to develop a custom theme for magento, i followed the following steps : ...
0
votes
1answer
243 views

Editing my child theme

I've created a child theme by adding files to C:\xampp\htdocs\magento\app\design\frontend\Magento\themename In this, I have a theme.xml file, a registration.php file, web folder, media folder and a ...
0
votes
0answers
39 views

child themes style not apply in magento2

I have create child themes and select child themes, have style(style-l.css,style-m.css) not able to apply for this theme and site has been messed up.
0
votes
1answer
208 views

How to Deploy Child Theme in Magento 2?

How should I deploy child theme? Shell, I deploy only child theme or should I do both child and parent, if so what's the correct order?
0
votes
1answer
135 views

Child theme does not load menu or parent theme components

i'm using magento 2.1.6. I'm using the theme everything and I want to extend one of their child themes into a new child theme. I am using these files and this structure: folder: app/design/...
0
votes
2answers
151 views

Child theme is loaded before parent theme

I have created child theme but on page css from child theme is loaded before css from parent theme, and I don't get correct style. Is there a way to specific order of loading scripts from theme (to ...
0
votes
1answer
2k views

Magento 2 - Creating a child theme

I purchased a theme for a Magento 2 website. I know want to create a child theme to modify some of the styles, etc. The theme purchased is called Porto and resides in /app/design/frontend/Smartwave/...
0
votes
0answers
77 views

Is it possible to import all style from base theme into custom theme in magento 2 and how?

I have newly started working on magento 2 . I have created custom theme by keep luma theme as parent. I want to import all css of parent theme in custom theme of magento 2.
0
votes
1answer
272 views

No content is displaying on the main content area

My Homepage , Login and Create an Account pages are blank. Only the header, nav menu and footer are showing. Main content area is not showing. However, when accessing CMS about-us page the cms block ...
0
votes
1answer
1k views

Magento 2.1 override the view.xml file and see changes on site

I'm pretty new to Magento 2.1 and am trying to figure out how the themes work. I've read through a lot of the documentation, but what I'm having trouble with right now is the view.xml file in my own ...
0
votes
0answers
400 views

Change .product-item-name font-weight to bold

How to change .product-item-name (see image) font-weight to bold in my Magento 2 child theme? My parent theme is Luma theme. I can't find in which less file: .product-item-name, .product.name a { ...
0
votes
0answers
51 views

Magento skipping Sub-Theme to default

I can't seem to find anything at all on the internet related to my problem which makes me think I've done something wrong along the way which has eluded me for days now. I have a theme I downloaded ...
0
votes
2answers
79 views

Child Theme, who can point me in the right direction?

I am working on a website in Magento. I've created a custom design package with a child- and a parenttheme. However, I can't get the child/perenttheme setting to work, despite all the articles (for ...
0
votes
2answers
48 views

Specific Theme for specific language, can I compile each theme in just the applicable languages?

We have a site that has been designed with a new theme for each language and each language on a different URL. It's not how I would have built it but we have to "run what you brung". The problem I ...