Skip to main content

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
1 vote
3 answers
72 views

How to remove parent theme handle from child theme programmatically?

Parent theme (theme design directory path) app/design/frontend/Jigar/basetheme/Magento_Customer/layout/customer_account_create.xml Here is the sample code : <?xml version="1.0"?> <!...
Jigar Karangiya's user avatar
0 votes
1 answer
30 views

Password protecting a child theme only?

Magento 2.4.6 Is it somehow possible to password protect a child theme only? I am using the porto theme and created a porto_child folder. The porto_child folder is used only by one store and it should ...
user4095519's user avatar
1 vote
1 answer
31 views

Best way to override custom theme

I bought a custom theme for my Magento store and want to customize it slightly. Customizations mean that I will probably update layouts, templates, and other files that are available under app/design/...
user avatar
1 vote
2 answers
1k views

How to do customization in the Luma theme CSS?

I have created a child theme with a Luma theme as a parent. and activate the theme from the configuration. Now I need to do some modifications in the CSS file like I need to change the background ...
Abhinav's user avatar
  • 45
0 votes
5 answers
1k views

Can't change Magento 2 theme

We have taken on a new client's webstore and have cloned it to our server. The clone seemed to work absolutely perfectly, however after doing some custom work, and creating a child theme for template ...
Ben Dodson's user avatar
2 votes
1 answer
231 views

layout/default.xml doesn't seem to work in a child theme from Luma

I have created a new child theme from Luma. The admin panel recognizes that it's registered and I have set it up to be used for my store. One of the things I tried to achieve was changing the logo for ...
Aivars's user avatar
  • 23
1 vote
1 answer
773 views

How to override carousel.phtml file in Magento 2 custom theme

I want to override below Page builder Carousel phtml file in my custom theme. Please provide magento standard way for this. vendor/magento/module-page-builder/view/frontend/templates/catalog/product/...
Jitendra Patel's user avatar
0 votes
1 answer
103 views

Custom CSS file not available on front end

I have created a child theme of parent theme, and declared default_head_blocks.xml at <child_theme_dir>/Magento_Theme/layout folder with following content: <?xml version="1.0"?> &...
NileshPlus91's user avatar
0 votes
3 answers
187 views

How add extension/css/js to the parent theme?

I am quite new to magento :) We are using an external theme (hyva) which inherits from luma. This external theme does not have a checkout module, so when we navigate to the checkout form, it falls ...
Payman Khayree's user avatar
1 vote
0 answers
155 views

magento 2.4.3 Custom theme "Required parameter theme_dir was not passed"

I'm trying to create custom theme in my magento 2.4.3. I m getting error "" have written like this below. 1 exception(s): Exception #0 (InvalidArgumentException): Required parameter '...
Premkumar Suresh's user avatar
0 votes
1 answer
608 views

Exception #0: Warning: include(/var/www/html/vendor/magento/module-catalog/view/frontend/templates/product/view/attribute.phtml)

I am getting this error when I try to open to product catalog page in Magento 2.4.3 Custom theme? Exception #0 (Exception): Warning: include(/var/www/html/vendor/magento/module-catalog/view/frontend/...
Premkumar Suresh's user avatar
0 votes
2 answers
589 views

Magento frontend is breaks and shows correctly magento 2.4.2

After I set up the production mode my store is working correctly, but sometimes at the page load design get's broken and loading correctly how to fix it Magento 2.4.2. I had run the below commands. I ...
Sabareesh's user avatar
  • 358
0 votes
1 answer
632 views

How to create _extend_child.less for grand children theme

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 ...
Sanjay Goswami's user avatar
0 votes
1 answer
43 views

Changes in the child custom theme are not visible in the front end

<referenceBlock name="footer_links"> <block class="Magento\Framework\View\Element\Html\Link\Current" name="about-us" before="search-term-popular-link&...
kks's user avatar
  • 19
0 votes
2 answers
37 views

How to change the front look of the website as it is showing without css?

I made the custom theme with the parent theme luma and now applied it as well but site lost its css.
kks's user avatar
  • 19
0 votes
0 answers
92 views

Style is not loading in the child theme

I am new in the magento 2 and created child theme first time , you can see here http://www.neplyn.in/staging/ Css is not loading not sure why. DO I need to copy the parent theme css and put in child ...
ajaysingh's user avatar
0 votes
1 answer
764 views

How to override js files in Child theme? Magento 2.4

I've been overriding a few files in our child theme which seems to work perfectly, however, I don't seem to be able to override JS files. In this case, I'm trying to increase the yearRange in the ...
Michiel's user avatar
0 votes
1 answer
83 views

Luma child not appearing in Admin

I am trying to set up a child theme of Luma but it's not appearing in the Admin area. I have checked I have it set up correctly, I think I have. Main area I'm worried about is that the original Luma ...
rodolphesalis's user avatar
1 vote
1 answer
202 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}/ ...
Donato P's user avatar
0 votes
1 answer
598 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/{...
Adam's user avatar
  • 1
1 vote
1 answer
287 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: ...
Goodbytes's user avatar
  • 113
1 vote
0 answers
260 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 ...
Haerriz's user avatar
  • 681
0 votes
1 answer
39 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 ...
Anonymous Record's user avatar
0 votes
2 answers
804 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 ...
Priya's user avatar
  • 589
1 vote
0 answers
866 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\...
Mudasser Hayat's user avatar
0 votes
1 answer
269 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/ ...
Jayreis's user avatar
  • 725
4 votes
0 answers
142 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 ...
Jayreis's user avatar
  • 725
0 votes
2 answers
376 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 ...
Lynob's user avatar
  • 815
2 votes
1 answer
368 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 ...
Miss Oats's user avatar
1 vote
2 answers
903 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) { $...
Rufus's user avatar
  • 621
2 votes
1 answer
177 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 ...
bahaspletma's user avatar
1 vote
1 answer
881 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 ...
prabhakaran7's user avatar
  • 1,097
3 votes
2 answers
844 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?
Mukesh's user avatar
  • 125
0 votes
1 answer
256 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 ...
Aknot's user avatar
  • 298
0 votes
1 answer
149 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 ...
Matthew McLennan's user avatar
1 vote
1 answer
87 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 ...
Dangerous's user avatar
  • 113
1 vote
2 answers
363 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 ...
cygnus digital's user avatar
1 vote
0 answers
34 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 ...
fran35's user avatar
  • 187
1 vote
0 answers
116 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 ...
Eduilson Rodrigues da Silva's user avatar
3 votes
1 answer
832 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
getData's user avatar
  • 327
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,643
1 vote
2 answers
268 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 ...
TimDavies's user avatar
1 vote
1 answer
419 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 ...
Tayeaba Mila's user avatar
1 vote
0 answers
215 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 ...
anonymous's user avatar
  • 3,752
0 votes
1 answer
712 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 : ...
G. Mazzei's user avatar
1 vote
1 answer
175 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 ...
Rafael David Portilla Santigue's user avatar
4 votes
0 answers
415 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 ...
Krang's user avatar
  • 167
0 votes
1 answer
750 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 ...
Muckee's user avatar
  • 699
2 votes
2 answers
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:...
David N's user avatar
  • 43
0 votes
1 answer
448 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 ...
Jon's user avatar
  • 1