As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [luma-theme]

Luma is one of the default themes shipping with Magento 2.0. Use this tag if your question is specificly about using or extending the Luma theme. For questions related to extending themes in general, use parent-child-theme, for general questions about theme development, use theme.

Filter by
Sorted by
Tagged with
18 votes
4 answers
30k views

Custom Email Header and Footer Template in Magento 2

How can I change the email header template {{template config_path="design/email/header_template"}} or footer template {{template config_path="design/email/footer_template"}}
Alessandro'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
11 votes
6 answers
5k views

Magento 2 : Selected categories are not visible in edit form

Added category selector in admin form using ui component. The category ids are saved into the db as comma separated values. Now I want to display that categories in my edit form. This is my ...
E.B's user avatar
  • 990
9 votes
4 answers
15k views

Magento 2: How to move Product page Review Section from tabs to Bottom of page?

I have referred this link i.e Product page Review Section from tabs to Bottom of page and followed the same. I also got the same result. vendor\magento\theme-frontend-luma\Magento_Theme\layout\...
jassi's user avatar
  • 1,344
6 votes
2 answers
7k views

Magento 2 - Change the entire width of theme

I want to adjust the entire width of the Luma or Blank theme (I prefer Blank theme). What is the best way to do this?
Robert's user avatar
  • 2,156
6 votes
2 answers
3k views

How to add block to Magento 2 Luma Theme header?

How can I add a block to the magento 2 luma header like in this image? I'm using M2.2 and app/design/frontend/magento directory is empty (i see that referenced a lot).
Will Cousin's user avatar
5 votes
2 answers
8k views

How to Override Module CSS in Custom Theme?

I am using Magento 2.1.3 EE and my custom theme is using Luma as it's parent. I am trying to override a third-party module's CSS in my custom theme. I am not using LESS. When I say override, I mean ...
poor_documentation's user avatar
5 votes
2 answers
2k views

Magento 2.2.4 : Missing media/styles.css from Sample Data site

Everything seems fine apart from the banner section which appears on various pages which looks like... I can see that some styles are available in the install at <install_dir>/pub/media/styles....
Zakalwe's user avatar
  • 151
5 votes
1 answer
2k views

Megamenu issue - Clicking menu opens category page for that menu in mobile in Magento2

I need to resolve issue of responsive megamenu for mobile. The issue is when I click on the subcategory to opens its child sub-categories the link gets clicked and gets redirected because of which ...
Nisith's user avatar
  • 300
5 votes
1 answer
6k views

How does Luma theme home page work?

I understand that the home page content is defined in block home-page-block, and I can edit that and see changes appear in the browser. However, what I don't understand is: What bit of theme/...
gwideman's user avatar
  • 505
4 votes
2 answers
20k views

How to Customize Magento 2 header layout with luma theme

I use Magento 2 with luma theme and trying to change the header layout but I don't know the best way to do that. ie. I want the logo in div with some styles and the navigation in another div and so ...
Kareem Sultan's user avatar
4 votes
3 answers
12k views

How to add extra container to page header in Magento 2

I am working on a new theme which is based on the Luma theme. I need to add a extra container to page header.my problem is that I can't identify how/where to add this. Can anyone advise on what page ...
user159500's user avatar
4 votes
2 answers
2k views

How to show all product thumbnails as a grid (no carousel/ribbon) in product page on Magento 2?

I've been searching for an answer for a while but maybe I'm not searching correctly... We're upgrading to Magento 2 (2.3.2 to be exact) and we're modifying our theme based on Luma. The product page ...
Dave Meowmers's user avatar
4 votes
0 answers
127 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
  • 707
3 votes
7 answers
4k views

Incorrect theme identification key

Any time I run bin/magento setup:upgrade I get Incorrect theme identification key I understand the source is vendor/magento/framework/View/Design/Theme/FlyweightFactory.php so I had added echos to ...
undefinederror's user avatar
3 votes
2 answers
1k views

best practice for selecting parent theme in M2

I'm wondering which theme is best to use as my custom theme's parent theme? Should it be Magento/blank or Magento/luma? Does is matter or is one more stable than the other? I noticed some LESS files ...
Holly's user avatar
  • 4,773
3 votes
2 answers
138 views

Custom theme selection

I am new to Magento front end development while creating my custom theme, I have created app\design\frontend\custom\themename and inside that created my theme.xml file. <theme xmlns:xsi="http://...
karthick's user avatar
  • 675
3 votes
1 answer
3k views

What is the use of the view.xml of theme etc directory

I found this file located in the app/design/frontend/Magento/luma/etc/view.xml Can we depend on this file to make change to the image resolution? Any other specific use of this file. Shall we put ...
sandip's user avatar
  • 3,884
3 votes
4 answers
7k views

Magento 2 and change CSS styles - in LUMA - as a child theme

We have created a Luma child theme, and trying to figure out, how to make some CSS-changes?! For instance, change the footer and header background color? The _extend.less doesn't work, and adding a ...
Aknot's user avatar
  • 292
3 votes
1 answer
1k views

Add new container in Group product View Page in Magento 2

I want to add new container only for group products in Frontend. Above Screenshot is group product's view page of my magento frontend. In above Screenshot,I want to add that container Div below ...
Nagaraj Juro's user avatar
3 votes
3 answers
5k views

How can I change the menu tab title? (mobile version)

I use Luma theme and I tried to figure out and manage it from default.xml but it didn't work. I need to change the name od tabs and add new links in tab. Where I can find it inside file?
codeIT's user avatar
  • 85
3 votes
1 answer
1k views

Magento 2 Module .phtml needed 100% width on Luma

I have a Module which added a container under the Luma main menu. Here's the code: <container name="area1" label="Your New Container" htmlTag="div" htmlClass="your-new-container" before="-"> ...
user159500's user avatar
3 votes
1 answer
641 views

Layered Navigation not visible when Display Mode set to Static Block only (2.2.5)

Running 2.2.5 (Luma) In the category, when I use Display Mode: Products only or Static block and products, the layered navigation is clearly visible on the frontend. However, as soon as I switch to ...
Craig's user avatar
  • 2,610
3 votes
2 answers
4k 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.
Abdul Moiz's user avatar
3 votes
0 answers
628 views

Magento 2 Luma Checkout Problem with logged in Users

We made a Magento 2 Parent-Theme based on Luma and we changed some css styles, it still working but we have Problems with the Checkout. My Testside: http://staging.meat4you.ch 1) If some registered ...
FloWord's user avatar
  • 145
2 votes
1 answer
3k views

Child Theme Change Colors - Less Mixins in Magento 2

I would like to know how to change colors and follow the proper naming conventions in my _theme.less file. I have grunt working on my local developer machine to compile the LESS files into css. From ...
camdixon's user avatar
  • 550
2 votes
1 answer
3k views

Luma theme mobile menu error

In Luma theme, the mobile slide out menu is not functioning correctly. When we click "women" menu item, it opens the sub menu but then we click any other parent to open its sub menu it just closes ...
Arun Karnawat's user avatar
2 votes
1 answer
144 views

How to show Recently Searched Products without using Widget on HomePage (Luma). Magento2

I want to show recently searched products on homepage without using Recently Viewed Products Widget I want to get this in my custom block and also want to show this in my custom .phtml file how it ...
Asad Khan's user avatar
  • 1,466
2 votes
2 answers
3k views

Magento 2 theme override: changes not showing

I am new to Magento 2 and theming and I'm having trouble overriding a particular template. I am running in developer mode. I have successfully installed my theme and applied it globally in the admin, ...
GoldenGonaz's user avatar
2 votes
3 answers
1k views

Product page tabs section not showing as tabs

Looking at a stock Luma theme example, the details, more information and reviews section is tabbed However on my site with Luma enabled, these items are not tabbed. Is there some setting to make them ...
quickshiftin's user avatar
  • 1,376
2 votes
1 answer
2k views

make old (regular) price crossed out (magento 2.2, luma theme)

i'd like to make old (regular) price crossed out. as i understand, here is output: vendor/magento/module-configurable-product/view/base/templates/product/price/final_price.phtml <span class="old-...
bofh's user avatar
  • 197
2 votes
1 answer
774 views

Is it possible Custom theme for desktop and Luma theme for mobile and ipad

Is it possible to use blank or luma theme for mobile and custom theme for desktop in magento2.
karthick's user avatar
  • 675
2 votes
2 answers
4k views

Best way to create new Magento 2 theme based on Luma, which parent theme?

I am having a theme made for Magento 2 and the developer wishes to use Luma as the parent theme to keep the styling like Luma for all elements not changed in our design. I also plan on regularly ...
Steve's user avatar
  • 21
2 votes
1 answer
269 views

How to rename currency name?

how can I change "AED - United Arab Emirates Dirham" to "AED - UAE Dirham" in Luma currency switcher? I created en_US.csv file in my custom theme > i18n folder and added "united Arab Emirates" in ...
Chathura's user avatar
2 votes
1 answer
111 views

Show particular Block on the particular URL/page only

I am newcomer in Magento development, after 2 weeks I still feeling lost in the Magento 2 world. I have added following Block to the app/design/frontend/Mojambe/LuarBiasa/Magento_Theme/layout/default....
Yusuf Ibrahim's user avatar
2 votes
3 answers
1k views

Blocks not displayed (only in luma theme)

sorry, I am a bloody beginner, so this question might be obvious to someone else. However, I cannot figure them out. I have a blank Magento (2.2.6) installation and I want to customize it (couple ...
Patrick's user avatar
  • 21
2 votes
1 answer
215 views

Can we launch website on LUMA theme magento-2.2.4?

We are working on Magento-2.2.4 community version. We'd like to use the default LUMA theme for the development as of now. We have completed the website and it is ready to launch. Suddenly, we have ...
Teja Bhagavan Kollepara's user avatar
2 votes
1 answer
548 views

magento 2 luma theme - container names

There are some containers in Luma theme, how can I get their names? I want to move the container that has the search bar below the container that has the main menu. Thanks.
fran35's user avatar
  • 189
2 votes
1 answer
61 views

Header links: how to align it to opposite corners?

i have extended my default Luma header with new item: <referenceBlock name="header.links"> <block class="Magento\Framework\View\Element\Html\Link\Current" name="callmeback" before="...
bofh's user avatar
  • 197
2 votes
2 answers
2k views

Luma theme home page content not showing

I have downloaded Magento CE 2.1.8 and installed it on a local system, now when I access the home url Luma theme shows a page like this: Instead if something like this:
gopal's user avatar
  • 21
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
853 views

magento 2 workflow and folder structure [closed]

I am very new to magento. I had just install magento 2.1 and follow user guide but I am not understanding the workflow and folder structure. I am also trying to understand luma theme (debug mode on)...
Paritosh Mahale's user avatar
2 votes
2 answers
1k views

Why does Luma sample use widget and block for home page?

In the sample data with the Luma theme the home page is implemented with a Widget ("Home Page" Widget of type "CMS Static Block") plus block ("Home Page Block" containing the page content area html). ...
gwideman's user avatar
  • 505
2 votes
2 answers
1k views

Magento2.3 add custom phtml files to footer

I have a Magento 2.3 website that has a child theme of Luma setup and bootstrap added. What I want is to in the footer is to call in a customfooter.phtml file so I can setup the footer to be a 4col ...
Jayreis's user avatar
  • 707
2 votes
1 answer
51 views

add product title into product tabs

I am trying to add the product title and short description within the product tabs on the luma theme. With short description, I am happy to use the move object to place this into the tabs but I need ...
Boss Nass's user avatar
  • 264
2 votes
0 answers
20 views

Product Image Gallery Not Displaying When Using Custom Theme

I have created a child theme from Luma and when I enable it the product image gallery does not appear. When I re-enable the Luma theme the image gallery works fine. What am I missing? NOTE: I'm using ...
user77062's user avatar
2 votes
0 answers
326 views

Magento2 error after theme upload: Invalid template file

After uploading new theme files (Hebes) to Magento 2.3 installation I receive the following error: 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file:...
Justin Spencer's user avatar
2 votes
3 answers
623 views

How to add a background image to header content?

It's been last 42 hours i am trying to get a background image to header content on luma! [magento 2] but nothing getting accurately!! how do i add a background image to header content on magento luma!...
Ushno Ahmad's user avatar
2 votes
0 answers
32 views

missing XML start tag in theme.xml

Normally a XML file always needs at least the following starting line: <?xml version="1.0"?> The theme.xml files in the official distribution lack this tag, see for example the luma theme's ...
simonthesorcerer's user avatar
2 votes
0 answers
639 views

Disable hover on listing page on Magento-2

I have my custom theme using Luma as parent. I want to disable hover effect and show only "out of stock" message. How can I achieve this?
user avatar

1
2 3 4 5