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
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.5k
14 votes
3 answers
2k 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 "...
Gerard Nijboer's user avatar
13 votes
1 answer
15k views

How to extend the Luma Theme? [duplicate]

I am trying to extend the Luma Theme in Magento 2, But it does not work as expected. I added my Theme, let it extend from Luma, flushed all Caches, Published all Statics and activated the ...
David Lambauer's user avatar
6 votes
1 answer
839 views

Magento 1.9 Image Fallback?

I am working with the Sass fallback structure and couldn't find any documentation on whether image folder fallbacks are also supported. I have set up my dev site as follows with 2 custom packages and ...
lilbumblebear'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
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
4 votes
3 answers
6k views

How to edit stylesheet location

I am trying to experiment creating a magento theme. I copied the base files and put them into my theme. What file can you change the path in a header meta tag for a stylesheet for example. This is ...
Ben Anderson's user avatar
4 votes
1 answer
187 views

What are the 6 possible template fallbacks in the Magento Study guide excerise?

I'm trying to work through the exercises in the Magento study guide. I've come the following: Add an additional hardcoded theme called “primary” that is always first in the fallback order in the ...
user20090's user avatar
3 votes
2 answers
2k views

Does Magento have a fallback for default email templates?

Hi I have created a module with a custom transactional email, which works fine when I place the default template file in app/locale/de_DE/template/email/sales/mymail.html but I need to place it into ...
wutzebaer's user avatar
  • 207
3 votes
1 answer
1k views

How to using Fall-Back Hierarchy change a file in:

How to using Fall-Back Hierarchy, properly modify a file eg: /app/design/adminhtml/default/default/template/login.phtml My theme is: Package: Ultimo Theme: default I tried save modified file into ...
Anna's user avatar
  • 31
3 votes
1 answer
2k views

Layout updates in theme.xml

So I know that in the theme.xml files in Community 1.9 or Enterprise 1.14 you can specify the theme fallback but while upgrading a customer from Enterprise 1.13 to 1.14 I noticed that there are also ...
David Manners's user avatar
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
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
3 votes
0 answers
234 views

Per Store Widget Instance Block References

I have a multi store magento site set up. There is just the 2 Websites and a single store view each. They both use different themes of the same package. Now setting up a block in local.xml of Website ...
Tom Burman's user avatar
3 votes
2 answers
919 views

Why does Magento show the default 'favicon.ico' when template path hints are enabled?

When I enable the template hints (System->Config->[select store/website]->Developer->Debug->Enable template hints), why does Magento show the standard and well-loved 'favicon.ico' file instead of the '...
Henry's Cat's user avatar
  • 2,045
2 votes
2 answers
5k views

local.xml & theme updates

I'm trying my best to understand more about the local.xml file. If I may, could some kind soul answer a couple of questions I have? As I understand it, Magento will only read one local.xml file when ...
Matt's user avatar
  • 149
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
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
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
3 answers
4k views

How does theme inheritance work in Magento 2 / How to modify Luma

As I understood it, in a derived theme I should overwrite web/css/source/_theme.less to add my one styles / variables. When I extend Magento/blank it works fine. But when I extend Magento/luma and ...
Alex's user avatar
  • 13.8k
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
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
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
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
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
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
1 vote
2 answers
332 views

Mysterious theme configuration/fallback

I'm trying to get an overview over a Magento installation which was done by some other guy. It looks like a complete mess to me. Here is one thing I dont' quite understand, maybe someone can help? ...
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
1 vote
2 answers
155 views

Theme not falling back

I have a website and I want to have my custom theme based on a previously installed theme which is a third party theme. Previously installed theme is ABC.( set under Theme -> Default) Now I have ...
Anshu Mishra's user avatar
  • 8,970
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
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
1 vote
2 answers
570 views

Magento Child Theme Creation Problem

I've a fresh installation of Magento ver 1.9.1.0 on localhost. I'm following this tutorial closely to create a child theme of Magento responsive theme. I've followed all steps clearly. I've created ...
anwartheravian's user avatar
1 vote
1 answer
129 views

Magento not finding theme in local instance after MYSQL import

I have a local & remote Magento instances that are branches on the same repo. I exported the remote MYSQL database (which has all the products and settings I need) and imported it into the local ...
b_d_m_p's user avatar
  • 227
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
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
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
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
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
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
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
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
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
0 answers
120 views

Finding static block name

I am working on theme, but installed sample data as i didn't have data to work on. Now that i am using my own package and theme, the previous default theme left a broken series of images which were ...
localhost's user avatar
  • 249
1 vote
1 answer
53 views

Mobile Exception design with different store view

I´m running 1.7.0.2 I have different store views I´m creating right now, and already have the design exception for the mobile version, now I need to create template exception for the mobile in ...
Luca Cagnassi's user avatar
1 vote
1 answer
107 views

how to apply design fallback only on one module? is that possible?

so I am creating a custom grid template named grid.phtml(I will tell why i did not rename it) , here is the configuration : when I did this: It didn't pick up the scosche first, it again goes to the ...
Nickool's user avatar
  • 1,069
0 votes
1 answer
217 views

Magento frontend theme fallback to backend

Magento frontend theme fallback to backend Hi - we use a frontend pdf program that uses backend/adminhtml templates - and now these are not found. I think what we would like and have to to is tell ...
snh_nl's user avatar
  • 5,452
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