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
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
22 views

Magento 2.4 - Build Child Theme parent of theme installed via composer

) I need a tip. I've installed a theme via composer and I need to create a child theme having as parent a theme installed via composer. path of theme installed via composer: vendor/{vendor}/{theme}/ ...
0
votes
0answers
13 views

setup:upgrade command set all themes parent id to 1

lately, every time I run the setup:upgrade command, I notice that inside the "theme" table all the parent_id are overwritten and set to 1 (magento blank).On backoffice side, the themes are ...
2
votes
2answers
2k 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.
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
23 views

Make Fonts Available to Subthemes

I have a Magento 2.3.3 instance that has many sites. We have purchased a theme, created a common subtheme that will be used as a parent theme for all sites. To illustate: purchased_subtheme (parent ...
0
votes
1answer
45 views

Override a parent theme in vendor with a child theme in app Magento 2.3

I have made a theme that is a child to a customized theme that is a child of Luma. My theme lives in: app/design/frontend/{mycompany}/{mythemename}/ My themes parent lives in: vendor/{...
1
vote
1answer
29 views

Adding CSS to child themes _extend.less has no effect

I have set up a child theme of Luma and can see it is being loaded by looking at the page source in the browser. I now want to customise the styling of the theme. I followed the instructions here: ...
0
votes
0answers
39 views

Multistore with Luma Override as Default Theme with Child Themes for each store?

I seem to be having trouble properly setting up my frontend themes in Magento 2.3.3. We have three Magento 1.9 websites that we're migrating into a single Magento Commerce Cloud installation. I'd ...
0
votes
2answers
101 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 ...
1
vote
0answers
35 views

Magento2 Content -> Design -> Configuration Tables are empty

I am using Magento-2.3.4 and came to the page to change the theme and I saw only the empty tables. I looked for answers and they said allow_url_fopen to be on but it is already on. What should I do ...
0
votes
1answer
32 views

Creating child theme how will I add css for extensions I have installed [duplicate]

I am newbie in Magento. Template monster theme has already been installed and along with that I have installed many extensions. Now for adding custom css I have installed child theme . I am not ...
0
votes
0answers
97 views

Exception #0 (Exception): Notice: unserialize(): Error at offset 0 of 2 bytes in Magento 2.3.2

1 exception(s): Exception #0 (Exception): Notice: unserialize(): Error at offset 0 of 2 bytes in /var/www/html/app/design/frontend/Theme/huge1/Plazathemes_Quickview/templates/pt_quickview_container....
0
votes
0answers
21 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
7 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....
1
vote
0answers
255 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\...
0
votes
1answer
56 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/ ...
4
votes
0answers
81 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 ...
0
votes
2answers
99 views

Is it necessary to use a child theme?

I'm using Magento 2.3.1 and Porto theme, that theme is a hassle to install. Just got it done. This is a Porto child theme Is it necessary to install it? is there an easy way to install it without ...
2
votes
1answer
114 views

Inheriting CSS in child theme's child theme

I'm relatively new to this, so i hope someone can help me out. In my store i have a child theme of blank. The changes in this child theme get properly displayed on the store front and everything not ...
1
vote
2answers
274 views

Declaration of overridden method should be compatible with parent class

This is my custom class: class Collection extends \Magento\CatalogSearch\Model\ResourceModel\Search\Collection { public function _getSelectCountSql($select = null, $resetLeftJoins = true) { $...
3
votes
2answers
4k views

Magento 2 : Add to Wishlist not Appearing on Product Page

When the store is using custom child theme design, add to wishlist is not appearing on the product page. When I switch to other theme, it appears. What could be the reason? UPDATE: I realised ...
2
votes
2answers
1k views

Magento 2 add new block template file

I am trying to add a new phtml template file (in my child theme) of a custom module (not mine). Here is the block : {{block class="Sm\FilterProducts\Block\FilterProducts" template="Sm_FilterProducts:...
0
votes
1answer
47 views

my theme stopped working after I switched back to the tip of the branch from an older git commit

So I have backups of all the files in the Magento root folder and tried overwriting the current Magento folder with the backup folder and it still doesn't recognize the changes I've made in my child ...
0
votes
1answer
291 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 ...
3
votes
2answers
290 views

How to create new theme in magento 2 without parent theme delcartion?

What if i don't declare parent theme in theme.xml while creating new theme in magento 2? will the new theme work properly?
2
votes
1answer
64 views

Creating grandchild themes

I'm using ultimo theme for a multi store configuration. Since I have to update the theme regularly I don't want to make changes to the base files of it.But I've to make some changes which apply to all ...
1
vote
1answer
187 views

How to find the file in getchildhtml('customer') in magento 2

How i find this file and i want to add some fields here <?php echo $block->getChildHtml('customer_form_register_layout3');?> i search in app/design/theme/childtheme/custom module but ...
0
votes
1answer
147 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 ...
19
votes
2answers
19k 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 ...
1
vote
1answer
2k views

Magento 1.9 Minor template update

I've got a question about making an extremely minor change within a .phtml file on 1.9. I've gone through the RWD guide here: http://www.magentocommerce.com/knowledge-base/entry/ee114-ce19-rwd-dev-...
0
votes
1answer
106 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 ...
1
vote
1answer
53 views

Why do I get an exception when trying to append a block to a container in a parent theme?

I'm following an exercise in the ebook 'No-Frills-Magento-2-Layout' by Alan Storm (excellent book so far btw) and am coming across a slight issue for which I am not sure what I am doing wrong. I am ...
0
votes
2answers
84 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 ...
3
votes
1answer
4k views

Layout Updates in theme.xml to pick up parent theme's xml

I've created a theme package called hoi with a default theme. In the app/design/frontend/hoi/default/etc/theme.xml I've set a parent theme to be the a theme we purchased called blacknwhite. This ...
1
vote
0answers
26 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
73 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 ...
7
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
1
vote
1answer
59 views

Best way to customize a theme

I recently bought a template and I want to customize it. I spoke with the help center and they said it's not necessary to use a child theme. What is the best way to do that.
1
vote
1answer
433 views

Which one of the elements automatically render all it's children in layout (m2)

automatically render all it's children <layout> <container> <block> <action> I feel like i've tried several now and they're not working for me. any of them. ugghhhh
1
vote
1answer
114 views

Magento doesn't detect child theme in different store view

I have a Magento website with one store view (ITALIAN) and a theme with the child theme and everything is working good. Today I created a second store view (ENGLISH) but this doesn't recognize the ...
1
vote
2answers
40 views

Is it possible to have a child of a child theme in Magento 2

I have a theme installed using Magento 2 and I then have a child theme which I am using to make customisations. Is it also possible to then create a child them of that child which I can use to make ...
0
votes
1answer
428 views

Creating a child theme within a child theme in Magento 2.1.7

so I'm relatively new to Magento and downloaded a theme (Eren - off themeforest) to build a site off. The theme i wanted to use (eren-4) is already a child theme to eren-1 (the parent theme). I ...
1
vote
1answer
266 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
114 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 ...
3
votes
1answer
126 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 ...
0
votes
1answer
478 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 : ...
1
vote
1answer
142 views

Magento 2 Luma Theme inherence error 2.2.1 CE

I have a problem when I add a new theme in my new Magento 2.2.1 CE from scratch, and I try to inherent Luma theme. I sow to many examples but nothing work for me. If I put as parent blank work well ...
4
votes
0answers
306 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 ...
0
votes
1answer
286 views

Magento 2: Background gradient and image

Magento 2.2.1 custom theme which inherits from Magento/blank. I am trying to assign a background which has a radial gradient as the bottom layer and an image as the top layer. Assigning a solid ...