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
10
votes
1answer
12k 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 ...
9
votes
3answers
11k 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"}}
8
votes
4answers
2k 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 ...
6
votes
4answers
7k 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\...
5
votes
2answers
983 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).
5
votes
1answer
5k 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/...
5
votes
1answer
337 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 ...
4
votes
2answers
15k 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 ...
4
votes
2answers
4k 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 ...
4
votes
0answers
52 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 ...
3
votes
2answers
768 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 ...
3
votes
2answers
129 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://...
3
votes
1answer
1k 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 ...
3
votes
1answer
8k 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 ...
3
votes
4answers
5k 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 ...
3
votes
1answer
517 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 ...
3
votes
3answers
3k 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?
3
votes
1answer
835 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="-"> ...
2
votes
1answer
2k 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 ...
2
votes
2answers
3k 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?
2
votes
1answer
2k 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 ...
2
votes
1answer
62 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 ...
2
votes
1answer
522 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.
2
votes
2answers
3k 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 ...
2
votes
1answer
63 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 ...
2
votes
1answer
18 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....
2
votes
3answers
493 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 ...
2
votes
1answer
101 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 ...
2
votes
1answer
277 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.
2
votes
1answer
33 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="...
2
votes
2answers
894 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:
2
votes
1answer
500 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
1answer
809 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)...
2
votes
1answer
901 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). ...
2
votes
1answer
83 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 ...
2
votes
1answer
36 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 ...
2
votes
0answers
120 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:...
2
votes
3answers
311 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!...
2
votes
2answers
963 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....
2
votes
0answers
21 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 ...
2
votes
1answer
1k 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.
2
votes
0answers
423 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?
2
votes
0answers
7k views

How to customise header template in magento 2

Here is what i have already done. Installed Magento 2 Created custom theme in magento 2 Applied that theme Created "templates directories" to override template files I have copied header.phtml from ...
2
votes
0answers
511 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 ...
2
votes
0answers
134 views

Magento 2.1 custom theme (Login and Registration Form)

I have successfully created Magento using/ inherited from Blank default theme. When I remove the default css <remove src="css/styles-m.css" /> <remove src="css/styles-l.css" /> I see ...
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
2answers
5k views

Where is set the main/primary color value in Luma theme

I'm trying to find out which is the file that sets the main blue color in Luma theme. There is a blue defind @color-blue1: #1979c3; in lib/web/css/source/lib/variables/_colors.less Where Luma gets ...
1
vote
1answer
676 views

Move Logo from header content to panel header

Magento 2 Luna Theme How can I move the logo from the header content div class to the panel header class so that the logo would move up to be on the same line as Default welcome message! Sign In ...
1
vote
2answers
802 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, ...
1
vote
2answers
568 views

Try Demo Customer Access

I installed Magento 2 with sample data. I used the Luma theme and changed everything, adding pages and other information. I would like to remove the Try Demo Customer Access block but find nothing ...