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
15
votes
3answers
3k 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 ...
14
votes
3answers
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 "...
10
votes
1answer
14k 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 ...
6
votes
1answer
798 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 ...
4
votes
3answers
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-...
4
votes
1answer
304 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 ...
4
votes
3answers
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 ...
4
votes
1answer
183 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 ...
3
votes
2answers
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 ...
3
votes
1answer
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 ...
3
votes
1answer
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 ...
3
votes
2answers
926 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 ...
3
votes
1answer
507 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 ...
3
votes
0answers
233 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 ...
3
votes
2answers
832 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 '...
2
votes
2answers
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 ...
2
votes
1answer
128 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 ...
2
votes
1answer
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/...
2
votes
1answer
578 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\...
2
votes
3answers
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 ...
2
votes
1answer
45 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. ...
2
votes
0answers
85 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 ...
2
votes
2answers
1k 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 ...
1
vote
3answers
121 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 ...
1
vote
2answers
111 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 ...
1
vote
2answers
329 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? ...
1
vote
2answers
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 ...
1
vote
5answers
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 ...
1
vote
2answers
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 ...
1
vote
3answers
1k 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 ...
1
vote
1answer
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 ...
1
vote
2answers
566 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 ...
1
vote
1answer
95 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 ...
1
vote
0answers
20 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 ...
1
vote
1answer
372 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
2answers
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 ...
1
vote
2answers
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.
1
vote
0answers
4k 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/...
1
vote
0answers
53 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 ...
1
vote
0answers
466 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
1answer
42 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 ...
1
vote
1answer
55 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 ...
1
vote
1answer
244 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 ...
1
vote
2answers
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 ...
1
vote
0answers
116 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 ...
1
vote
1answer
47 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 ...
1
vote
1answer
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 ...
0
votes
1answer
201 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 ...
0
votes
1answer
865 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 ...
0
votes
2answers
108 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 ...