Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [theme-fallback]

Questions about the fallback mechanism for themes: Magento looks up resources in the theme directories and if they don't exist, falls back to the parent or default theme. For questions about developing child themes in particular, use the parent-child-theme tag instead.

Filter by
Sorted by
Tagged with
1 vote
1 answer
64 views

Magento not producing style-l.css,etc for extended theme having luma as parent?

Unexpected behavior from magento after trying to make mycustomtheme with parent luma. When I put _extend.less in incorrect location: app/design/frontend/mevendor/mycustomtheme/css/source (missing web ...
raza19's user avatar
  • 23
0 votes
2 answers
242 views

Magento2 how to show header and footer in Luma basic checkout?

I'm using Magento2, Hyva-Themes, and I've enabled the checkout from admin with this path frontend/Magento/luma. Now here, I can show header and footer from admin, but they are the default header and ...
D.D.'s user avatar
  • 15
0 votes
1 answer
543 views

Change width in custom theme - Magento 2

I created a new theme inheriting from Luma based on some totorias, the only change I made was to put it in _theme.less // Widths @layout__width: ''; @ layout__max-width: 100%; @ layout-indent__width: ...
Sérgio Mordente's user avatar
1 vote
0 answers
26 views

Frequent Theme Switch Due to Cache

I am using Magento 2.2.7 on a vps. I am using SM Market Theme. Due to Language problem of Theme support team, they are unable to understand the issue, thus I am not getting the solution. In the ...
Niraj Nagar's user avatar
0 votes
1 answer
167 views

How to load image from default skin if image does not exist in custom skin?

I have a custom skin /skin/frontend/venedor/myskin/ this skin has a default folder: /skin/frontend/venedor/default/ I have a css file /skin/frontend/venedor/myskin/css/stlye.css where an image is ...
Black's user avatar
  • 3,379
0 votes
0 answers
54 views

Custom Module and custom theme layout

I create a small module who add a button to the wishlist page. I make a file wishlist_index_index.xml in Vendor/Module/view/frontend/layout/ <?xml version="1.0"?> <page xmlns:xsi="http://...
Mitchum's user avatar
  • 155
0 votes
1 answer
2k views

Exception #0 (LogicException): Unable to load theme by specified key: '12'

it's occurred when I tried to change theme from back-end from custom theme to Luma theme. Unable to load theme by specified key: '12' I tried: check table core_config_data for theme entry and ...
lalit mohan's user avatar
  • 1,075
1 vote
1 answer
415 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
2 answers
1k views

How to set 2 different themes for Mobile and Desktop in Magento 2.1.7 without changing the core file

I am working on Magento store version 2.1. I'm required to show a different layout and design on the Mobile device, which is different from my default view. For this I added a theme in the root ...
R K Shrivastaw's user avatar
2 votes
1 answer
46 views

2.2 static-content deploy generates extra themes

Since version 2.2, static-content:deploy for a theme will generate themes not specified using the --theme flag. So before in 2.1.x I would generate a theme for 3 languages and get exactly 3 themes. ...
Domeglic's user avatar
  • 542
1 vote
2 answers
2k views

How to create a magento 2 Child and parent custom theme?

Please explain how to setup a child theme with step by step instructions.
Pankaj Patel's user avatar
1 vote
0 answers
6k views

Magento 2 Required parameter 'theme_dir' was not passed

1 exception(s): Exception #0 (InvalidArgumentException): Required parameter 'theme_dir' was not passed Exception #0 (InvalidArgumentException): Required parameter 'theme_dir' was not passed #0 /var/...
Nasir Perwaiz's user avatar
1 vote
0 answers
60 views

Search result page not displaying items defined in different default.xml files for theme

I am working on developing a theme. I overrode the default.xml layout file for theme in my, VENDOR/THEME/Magento_Theme/layout/override/base/default.xml. In this file, I have defined some overrides ...
Simon.Hermit's user avatar
0 votes
1 answer
255 views

Magento 2 Cookie Restriction Bar - css styles not applied for different stores

I am working on a Magento 2 multistore setup like this: www.foo.com/uk www.foo.com/us bar.foo.com/uk bar.foo.com/us baz.foo.com/uk baz.foo.com/us I have successfully styled the cookie bar for the ...
Andrea D'Urso's user avatar
0 votes
1 answer
682 views

M1.9: Create new Admin theme which will fallback to already created custom admin theme

I already have custom Admin theme app/design/adminhtml/default/mycustom created and in use. But now, for some stores, I want to use another Admin theme, which will fallback to mycustom theme. I ...
Anitr's user avatar
  • 448
0 votes
1 answer
72 views

Error while uploading site from local to live server

I have uploaded the quick-start package of theme sm-g3shop in my localhost , it was working fine showing exactly the demo website but when i have uploaded that website on live server from localhost ...
Aditya Gupta's user avatar
0 votes
2 answers
397 views

Manual Installed Theme is not working

I have installed the theme manually and performed all the changes according to the documentation guide but still my homepage doesn't respond to the changes. It keeps showing like the screenshot. I ...
Aditya Gupta's user avatar
0 votes
2 answers
211 views

Cannot Initialize the reindexer process?

I have uploaded the folders of a new theme into the root folder of magento and then when i am trying to re-index all the files it is showing : cannot initialize the re-indexer process. I have ...
Aditya Gupta's user avatar
1 vote
2 answers
1k views

Magento 2: How to override the magnifier.js?

I had a requirement that the entire image need not be zoomable, and I had to scale the image to take the full width on the product page so I modified the magnifier.js according to my requirement. Now ...
Ritesh Ranjan's user avatar
1 vote
3 answers
2k views

Can't override list.phtml in Magento 2.1.6

I'm trying to override Magento_Catalog list.phtml in magento 2.1.6 and it's not working. I have a theme working and others templates and layouts overrides are working correctly. My custom list.phtml ...
Eduardo Pedrosa's user avatar
0 votes
1 answer
357 views

magento 2 child theme location

I am not sure which directoy to setup my child theme for a theme I purchased. The original directory of the theme is: app/design/frontend/Codazon/fastest/fashion there are a whole bunch of other ...
Sackling's user avatar
  • 283
3 votes
2 answers
1k views

How the Base folder will help on Magento 2 modules or themes fallback mechanism

As from official docs : base : used for both front end and admin html. As the part of Magento Theming, how and when to use base folder and how the fallback work with base folder. As i observed in ...
Krishna ijjada's user avatar
0 votes
1 answer
934 views

Magento 2.x some css and js not working in custom theme

I have installed Magento CE 2.1.2 in my local system Windows 7(64 bit) Uwamp. Now I have created my custom theme and set it up in the backend. Below are the theme specific files and I have kept some ...
Vicky Dev's user avatar
  • 1,992
0 votes
1 answer
24 views

What determines that Fallback Model starts with <block type="page/html" name="root"..>?

What determines that Fallback Model starts with opening page.xml and <block type="page/html" name="root"..> ? I mean, what differ this block from others that make it special, the name?
user6827096's user avatar
1 vote
0 answers
493 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 ...
DevonDahon's user avatar
2 votes
1 answer
593 views

Magento 2 custom theme Integration

First I am new to magento development and theme integration. As reading forum on the magento theme, created custom theme folder structure with listed file as below.... Magento\app\design\frontend\...
Draval's user avatar
  • 69
2 votes
1 answer
132 views

Fallback system doesn't look in default

I have something weird going on in my Magento 1.9.2.4 environment. I'm creating a new theme for different shops. This is what is looks like: -package --- default --- theme1 --- theme2 --- theme3 I ...
user3478148's user avatar
1 vote
1 answer
46 views

home page goes back to default when changing store

I have setup a website with 2 stores (english and welsh). I am usng a custom built layout,template and skin. When I attempt to change language (home page only) the home page reverts to the base ...
byron Morley's user avatar
4 votes
1 answer
318 views

Magento 1.9.3.0 product page design is reverted to base/default

I have a Magento 1.9.3.0 test shop for which I've created a new theme based on rwd. This shop uses a database that's been cloned from the production environment (Magento 1.8.1.0). Everything works ...
Alexandru Bangală's user avatar
3 votes
1 answer
533 views

Magento Grunt Less Compilation behaves weird

I have a custom theme Mycompany/mytheme including <Magento>/<blank> as parent. The locale is set to de_DE. When I execute php bin/magento setup:static-content:deploy de_DE everything ...
juhanix's user avatar
  • 671
1 vote
1 answer
59 views

Beginner Query - Magento Theme Not Falling Back?

I'm attempting to build a custom package and theme using the Magento guide at: magento.com/sites/default/files/MagentoDesignGuide.pdf One of the fundamental points it makes at the beginning is that ...
user avatar
2 votes
1 answer
1k views

Theme dependencies and layout updates in Magento 2

This a general question about Magento 2 and theme fallback, I currently have a theme which falls back to Snowdog - and then Snowdog falls back to blank. My question is, when i added: MyVendor/...
andy jones's user avatar
  • 1,383
0 votes
1 answer
2k views

Magento 2 theme fallback to blank regardless of parent

I am attempting to create a custom theme utilizing the fallback mechanism. The issue I have encountered is that my theme is only falling back to blank. This is occurring even though I have set the ...
adamhs's user avatar
  • 161
0 votes
1 answer
991 views

Old themes in the Design configuration page of Magento 2?

I've deleted all TemplateMonster theme files and it's still showing in the Design configuration page. Process completed to remove themes: Remove theme files from app/design/frontend Clear static ...
Mex Lane's user avatar
1 vote
1 answer
1k views

How can I extend adminhtml JavaScript methods with custom logic?

I have extended several JavaScript methods of the Product.Config class on the frontend website to apply some custom business logic, but I need to share the same customizations with the sales order ...
fantasticrice's user avatar
2 votes
0 answers
86 views

Troubleshooting process for modules which break depending on theme

I'm struggling with a module (Sphinx Search Ultimate by Mirasvit) I've installed using the Intenso theme. I can see the module works fine in RWD (a default Magento theme). In Intenso, I can see the ...
Charlie Dalsass's user avatar
0 votes
0 answers
161 views

Enterprise Edition theme fallback

The theme fallback on CE is custom-package/custom-theme custom-package/default base/default However in the Enterprise Edition, there is an added enterprise/default package and theme. So does the ...
Nick Rolando's user avatar
  • 1,212
2 votes
2 answers
2k views

Magento 2 custom theme based on parent Luma theme necessary files

I created my custom theme based on Magento Luma theme: In /app/design/frontend/MyVendorName/ncs-theme/theme.xml I added <parent>Magento/luma</parent> But when I look at my frontend I see ...
meez's user avatar
  • 417
1 vote
3 answers
132 views

Magento 2 Themeing

I am trying to build a custom theme for magneto2 and noticed the theme files for luma and blank are located under the vendor folder and app/design/Magento is empty. I have a couple of questions ...
user3262111's user avatar
0 votes
2 answers
144 views

is there anything like magento module fallback

we created own theme by extending rwd theme and cart page was using below file code : app/design/frontend/rwd/theme1/template/checkout/cart/default.phtml we created custom module and it includes ...
Baby in Magento's user avatar
1 vote
1 answer
311 views

Custom Cart Cross-Sell Item

I am trying to add a cross-sell product to a custom cart page. The regular process for adding cross-sell products to products in the admin panel does now show up in our cart. Is there a file/ line of ...
Ashley Swinehart's user avatar
0 votes
1 answer
408 views

Multiple parents of a theme

In Magento 2, it is possible to extend themes by inheritance. Is it possible to have more than 1 parent theme?
Michael's user avatar
  • 227
16 votes
3 answers
4k views

Magento2 design fallback logic

We already know design fallback logic from Magento 1.x: Current package / Current Theme Current Package / Default theme Base Package / Default theme Now. i want to know What is the design fallback ...
Amit Bera's user avatar
  • 77.6k
0 votes
1 answer
62 views

Are these theme folder paths equivalent? Place theme in /vendor/?

/app/design/frontend/Magento/blank/ && /vendor/magento/theme-frontend-blank/ Am I correct to assume /vendor/ is always the fallback from app? If that is true, could I install my theme to: /...
Joshua34's user avatar
  • 2,317
1 vote
2 answers
2k views

Custom RWD theme falling back on base theme instead of rwd

I'm trying to create a custom RWD theme with magento 1.9 and for some reason even after following this guide: https://www.flinttechnology.co.uk/customising-rwd-magento-responsive-theme/ Its using ...
Oli Tuck's user avatar
  • 305
1 vote
2 answers
130 views

Magento Multi Theme Styling

I've a multistore setup which is using a custom base theme for the structure but the colour scheme is to change per store. Is it possible to fall back to the base theme but only modify _var.scss per ...
Paul Donnelly's user avatar
0 votes
2 answers
243 views

How to set "view full site" link in the mobile theme?

I am creating a mobile theme for the magento store so that the same url(e.g. example.com) for the store when watched in the mobile devices then it will look differently. I have added the exception ...
Kishore Patra's user avatar
1 vote
5 answers
2k views

Magento 2 Problem With CSS Loading

Whenever I edit app/design/frontend/Dzinehub/Theme/web/css/styles-l.css , it doesn't get reflected in the front end when I load the site .After every change , I have to clear the cache and run static ...
Mohanarengan Elamurugan's user avatar
0 votes
1 answer
319 views

How to divide the cart page into several pages in magento for mobile theme?

I am asked to create a mobile theme without using any responsive theme. So I have created a custom mobile theme by copying the magento's "iphone" theme to my package and modifying it. i.e. app/...
Kishore Patra's user avatar
4 votes
3 answers
4k views

Magento 2 theme fallback without parent

I have a custom theme that has no parent specified in the theme.xml. But it still loads the styles-l.css and styles-m.css specified in the blank theme. (specified in: /vendor/magento/theme-frontend-...
Jeffrey's user avatar
  • 151