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.

82 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
131 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
  • 685
3 votes
0 answers
629 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
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
  • 685
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
336 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
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
663 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
2 votes
0 answers
8k 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 ...
Soeb Safi's user avatar
  • 313
2 votes
0 answers
140 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 ...
Rakesh kumar'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
133 views

Luma theme deconfigured after installing sample data

Console error: Refused to apply style from 'https://app.bartofilpc.test/media/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is ...
Douglas Vicentini's user avatar
1 vote
1 answer
353 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 ...
Speedingorange's user avatar
1 vote
0 answers
73 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....
Hiren Shah's user avatar
1 vote
0 answers
370 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 ...
Ryan Holton's user avatar
1 vote
2 answers
2k 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?
zuber bandi's user avatar
  • 1,002
1 vote
1 answer
240 views

Override footer content with custom cms blocks?

Is there a way to "delete" all current footer content, and put a single cms block in there? I want to manage all its content in a simple cms block. Designing a custom footer seems to be very ...
Jonas's user avatar
  • 11
1 vote
2 answers
198 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 ...
sahana's user avatar
  • 329
1 vote
0 answers
541 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 ...
Rachna Thakur's user avatar
1 vote
0 answers
100 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/...
JGeer's user avatar
  • 1,420
1 vote
1 answer
182 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 ...
Anvesh M's user avatar
1 vote
0 answers
1k 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 / ...
Alessandro's user avatar
1 vote
0 answers
2k 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 ...
Digital_Frankenstein's user avatar
1 vote
0 answers
73 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 ...
Ordog's user avatar
  • 344
1 vote
0 answers
94 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 ...
tim.baker's user avatar
  • 843
1 vote
1 answer
548 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//...
Kareem Sultan's user avatar
1 vote
1 answer
77 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 ...
Abhishek More's user avatar
1 vote
1 answer
387 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/...
Valentín's user avatar
1 vote
1 answer
1k 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/...
R Jordan's user avatar
1 vote
0 answers
179 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 ...
mr_typo3's user avatar
  • 171
1 vote
0 answers
93 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=...
user3262111's user avatar
1 vote
1 answer
51 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 ...
Boss Nass's user avatar
  • 264
0 votes
1 answer
80 views

How to make Shipping address search function in checkout?

I want to make a function where users can search for the address from the shipping address list at the checkout page. Right now there are many B2B Magento stores globally. So Might they have a huge ...
Pragnesh Boghani's user avatar
0 votes
1 answer
379 views

magento 2.3 display first two product images on details page

i am using magento 2.3 version and i am using custom theme so i want to product page in main image showing first two images so when main image sliding and another coming it and rest first same like it ...
Jaydip Patel's user avatar
0 votes
1 answer
383 views

How to create _extend_child.less for grand children theme

I am new to Magento 2. I am having difficulty in creating a child theme. However I have created the child theme now I am facing how to add source for child them. In my configuration, I have created ...
Sanjay Goswami's user avatar
0 votes
1 answer
104 views

Magento 2.4 - changing CSS

I want to change the menu bar and some other elements on the luma theme for Magento. I have not found a way to do this yet, anyone knows how to do it? Any tips and help is appreciated -JP
Jan-petter Havna's user avatar
0 votes
3 answers
71 views

What's the best way to customize the css in Magento 2?

I created my theme as Luma child but I cannot really understand what's the best way to customize the css. Until now I just wrote all of my styles in _extend.less file but it's a lot of stuff for just ...
KaMZaTa's user avatar
  • 195
0 votes
0 answers
178 views

How to use Magento Luma theme for a specific block in the product detail page - product info detailed

I am using the Magento 2 Claue Theme for my Magento 2.3 store, I would like to know if I can use the Magento Luma theme for a specific block which is "product info detailed" in the product ...
Reshad Zazai's user avatar
0 votes
1 answer
71 views

hello guys please help me out how to get product quantity option on product listing page

this is my list.phtml code and look instead I want to display like my code <div class="products wrapper <?= /* @noEscape */ $viewMode ?> products-<?= /* @noEscape */ $viewMode ?>...
shaziyali's user avatar
0 votes
1 answer
153 views

Can't change logo size in Luma

I made a theme that inherits from Luma and am trying to increase the logo size, but it's not working. I already checked Luma sub theme - can't change logo size and it did not apply to me. I've ...
rcmenoni's user avatar
0 votes
1 answer
91 views

Using luma LayeredNavigation in custom theme based on blank theme

I want to copy the style and functionality of luma layered navigation to my custom theme - parent is blank theme. If I copy the Magento_LayeredNavigation of luma theme to my custom theme <vendor>...
Samuel Demir's user avatar
0 votes
0 answers
333 views

Magento 2.3.5 - Currency Dropdown Not showing in default Luma Theme

I have installed Magento 2.3.5 version. I have set all required settings for multi store currency. We have one main website and 4 store views. Store View and Currency Setup Main Website Main Store ...
Devishree's user avatar
0 votes
1 answer
309 views

Magento2 Page jumps to top when click Menu Icon on mobile

How to Stop the top menu bar scrolling up the page in website I have same issue facing like below website but I am using Porto theme and I have checked with default luma theme this issue also coming ...
Jaydip Patel's user avatar
0 votes
1 answer
273 views

Creating a custom theme for Magento2 from the Luma theme as parent

Referencing this article below: https://www.codextblog.com/magento-2/create-a-custom-child-theme-from-luma-theme/ Having followed all of the steps, our theme is created and applied, but none of the ...
MagentoMac's user avatar
  • 1,032
0 votes
1 answer
219 views

Magento 2.3.3 Icons not showing correctly

Fresh install of 2.3.3 with Luma theme sample data. The icon in the navigation bar and the search bar aren't showing correctly. Any ideas?
williampatey's user avatar
0 votes
2 answers
55 views

Magento migrate 1.9.3.1 to Magento 2.3.4 (multistore): Exception #0 (LogicException): Unable to load theme by specified key: 'NULL'

I've get a problem when try get any page. My process migration is regular. Only different I not' install template in Magento 2. I like use for testing Luma After migrate settings and migrate data ...
Abdel Karim Mateos Sanchez's user avatar
0 votes
1 answer
84 views

Add block from Luma parent into child theme

I'm using a custom child theme with Luma as the parent, I have a custom page layout xml file and I'd like to include a block that's defined in the parent theme: <block class="Magento\Theme\Block\...
Sam Assoum's user avatar
0 votes
1 answer
529 views

Magento theme Solwin-freego

I just upgrade from magento default theme to Solwin-freego theme, everything seems to be ok except that my category section is not displayed correctly since the update to the new theme.
brooll's user avatar
  • 23
0 votes
2 answers
138 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: '...
zus's user avatar
  • 145
0 votes
0 answers
840 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 ...
Black's user avatar
  • 3,110