Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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.

80 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
46 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 ...
2
votes
1answer
77 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
0answers
117 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
2answers
930 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
418 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
6k 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
508 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
133 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
0answers
103 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 ...
1
vote
0answers
14 views

Showing Price Tiers EX TAX Whilst Showing Prices Inc & Excluding Elsewhere

I am having trouble getting price tier breaks for Complex products to show "excluding" VAT only. I am UK based so need to show prices both inc. and exc. tax in most places. We are running a modified ...
1
vote
0answers
54 views

Magento 2 custom theme CSS and other resources not loading

I have setup Magento 2 in local system in WAMP stack. We have two websites. One is our Main website and other is different domain webiste. First website working fine with Luma theme and url is abc....
1
vote
0answers
12 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 ...
1
vote
0answers
324 views

Magento 2.2.7 single product image not showing on front end

I'm developing a website in Magento 2.2.7. I have a problem whereby if I only add one image to a product in the admin area it doesn't show on the frontend, even after trying all of the various ...
1
vote
2answers
96 views

How can i override the luma theme category page stylings in new custom theme?

We have to override the luma theme stylings of the category page,we have applied pearl theme on top of it.And we are extending same for custom child theme. How can i override the default luma css for ...
1
vote
0answers
229 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 ...
1
vote
0answers
392 views

Magento 2.2.4 Product sorting list by price on category page - How to fix Low to High Sorting Issue

Magento 2.2.4 It is expected that catalog category page show products sorted by price correctly, taking account that special price of the configurable product should not make difference to price ...
1
vote
0answers
70 views

Magento footer links not removed in custom theme

I create a custom theme based on Luma, with the path like: /app/design/frontend/Theme1/custom/ Now I want to remove the footer links and edit the following file: /app/design/frontend/Theme1/custom/...
1
vote
1answer
88 views

Header Template Image during Cron

when my Cron got executed I am getting Luma image as Header Image in Email instead of my custom Image. When I write the same functionality as API i am getting the right Image. Can some one help me on ...
1
vote
0answers
210 views

Get custom variable in phtml file - Magento 2 theme Luma | HELP

I created this custom variable Path: Stores -> Attributes (Product) Code Variable: time_di_consegna_modulo Now I want to print the variable inside the product page. Path: public_html / vendor / ...
1
vote
0answers
1k views

Magento 2 Fotorama - Customise product gallery thumbnail scroll

I currently have the basic Fotorama settings but I'm hoping to change those to have three thumbnails showing at a time. When I click through using the large view next arrow, the thumbnail container ...
1
vote
0answers
37 views

Change colour of discount code dropdown on cart page in Luma - Magento 2

On the cart page in the Luma theme there is a dropdown that when clicked expands to allow you to enter a discount code. What is the less variable to change this colour please? This is the CSS that ...
1
vote
0answers
68 views

Why does Magento 2 use <span> in buttons

This is probably something I should know, so excuse the question, but why does Magento use inside buttons, and especially inside the checkout it binds the data (which I understand why but not why it ...
1
vote
1answer
289 views

Magento 2: Why some images aren't showing in Luma theme product page?

I've installed a Luma theme on my local and it is ok but when I open product page the images not showing. The console gives errors like this: GET http://localhost/m-2/pub/media/catalog/product//...
1
vote
1answer
51 views

I want to add jquery validation to my form ! How can i do it?

I am using magento's inbuilt luma theme to practise and i am not able to understand where exactly is js written how is the flow ? This is my basic view page. And is working fine i want to add jquery ...
1
vote
1answer
338 views

Overwrite styles of Luma blocks

Magento 2.1.2 Development Mode. I want to overwrite the styles of the Luma theme blocks. I have included the default_head_blocks.xml file in the path:/app/design/frontend/Vendor/mytheme/...
1
vote
1answer
575 views

Single column layout for category and search results

I have Magento 2 installed and am using the Luma theme. I've disabled the wishlist and compare but I still have a left sidebar on the category and search result pages. Which files do I have to edit/...
1
vote
0answers
116 views

How to get CMS / Catalogue page text and content to behave responsive?

Added text to CMS pages or Catalogue pages in Magento 2 are not behaving responsive. All other parts of the page are responsive. How to get the CMS / catalogue text to behave responsive as well? On ...
1
vote
0answers
71 views

magento block won't move to container

I'm trying to move blocks to different containers. I cannot seem to get them to move to the specified destination. so in my default xml under Magento_Theme <move element="report.bugs" destination=...
1
vote
1answer
29 views

Add fullwidth background to related products

I am trying to add a full-width background to the related products on my magento 2 site extending the luma theme. the problem i am having is that the background is being applied but the left/right is ...
0
votes
0answers
8 views

Magento 2: Disable snap/scrollto on opening attribute group in layered navigation (luma theme)

How can I disable the snap/scrollto when opening an attribute group in the layered navigation (luma theme)?
0
votes
2answers
39 views

Magento 2.3.3 - How to setup theme after migrate M1 to M2?

After successful migration theme setup not working, setup Magento luma theme not working. Theme Setup : My website look like: Debug.log: main.ERROR: Unable to load theme by specified key: '...
0
votes
1answer
29 views

I have recently install magento 2.3, the app/design/frontend/magento/ is empty

I have recently install Magento 2.3. The app/design/frontend/magento/ is empty. I want to modify the product detail page and catalog detail pages. I am new to Magento can anybody help me in this
0
votes
0answers
45 views

Magento 2 - changing the Qty does not update the displayed price on product page

I just started with Magento 2. I created a configurable product with two special dropdowns. If I change the Qty, then the price does not update. It just shows 4,61 € all the time, no mather what I ...
0
votes
0answers
26 views

Magento 2 Scripts and Styles sheets from theme not being rendered

I'm experincing some weird issue with my Magento 2 installation on Nginx server. In Content->Design->Configuration->HTML Head, the styles are added into the Scripts and Style Sheets field are not ...
0
votes
1answer
23 views

Magento 2.3.1 Not install sample data, need CMS code for LUMA home page

If we see from the demo here: http://demo-acm-2.bird.eu There's banners and featured product at Home CMS which i don't get because sample data isn't installed Is there another way to get the CMS ...
0
votes
0answers
32 views

Override luma theme default color

I am using Magento 2.3.2, I change the default color {CSS : luma theme } to a custom color. After a certain time, it returns to the default. How to solve this
0
votes
0answers
24 views

Keyboard navigation issue Firefox and Safari

I'm having issues with keyboard behavior in Firefox and Safari running the Luma theme. Tabbing misses the navigation and <a> tags within the <body> and moves to the browser Chrome. I tried ...
0
votes
0answers
16 views

Change mobile navigation

I am trying to work out which xml file controls the menu on luma for mobile so that I can remove the Menu/Account section here at the top So I can achieve something similar to this
0
votes
0answers
163 views

Magento 2 - css and js error

Im using magent 2.2.8 and i got constant error with css and js: [2019-06-08 01:35:18] main.CRITICAL: Unable to resolve the source file for 'frontend/Magento/luma/hr_HR/Ves_ImageSlider/css/styles....
0
votes
0answers
19 views

Magento 2 The custom theme will be automatically converted to LUMA theme after system update in production mode

Magento 2.6 In production mode, the custom theme will be automatically converted to LUMA theme after system update, and will be restored after setting and saving the application theme in the ...
0
votes
0answers
22 views

How to change color of website dynamically in Magento 2?

I have installed Marketplace extension in Magento 2 and I have overridden default luma theme. In the Marketplace system, every vendor has a different domain or subdomain of the vendor's shop, every ...
0
votes
2answers
150 views

Why is default Luma theme so slow (Time to interactive) on PageSpeed insight?

I had bad result on Google Pagespeed Insight on small Magento Websites, using default theme and modifying only little stuff, plus adding static content to homepages. And Pagespeed Insight rating are ...
0
votes
1answer
23 views

Missing Header Links. Magento 2.1

as you can see create an account and login is missing from the frontend
0
votes
2answers
98 views

Do I have to be in developer mode?

How to add custom css file in magento2.2.6? I am in Production mode, using Luma Magento 2.2.6. Do I have to be in Developer mode to make the solution in the above link work? Before switching to ...
0
votes
1answer
59 views

Magento 2 Child Theme Static Content?

I created a Magento Child Theme under 2.3.0 based on Luma. I tested in Developer and Default Magento Mode. I expect the custom _theme.less file to be generated on the fly. But this does not work. I ...
0
votes
1answer
117 views

Changes in Parent Luma theme is not reflected in Child Luma theme in Magento 2.3.0?

I have created seven child themes and one parent theme for these seven child themes. All seven child themes points to their parent theme, we've named "Master". <theme> <title>Child ...
0
votes
1answer
388 views

The difference between luma theme and blank

I often get asked which theme is the best to set as the parent, Blank or Luma, when it comes to creating a custom theme in Magento 2?