Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
11 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 ...
2
votes
1answer
30 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 ...
0
votes
1answer
19 views

How can I use Highcharts graphs in magento2 custom module customer account section in the standard/recommended way with require js?

I need to use the Highcharts.com simple line graph by adding its library with requirejs-config.js in frontend luma theme, custom module in customer account section. I have tried these solutions but ...
0
votes
1answer
87 views

Adding Custom CSS to Luma theme magento 2.3.0

in Magento 2.3.0 I have followed the above solution but still not loading my css, I have search ran all the commands but still nothing. Please any mistake on my implentation below, I am trying to add ...
1
vote
0answers
45 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
10 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 ...
5
votes
1answer
151 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 ...
1
vote
0answers
113 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 ...
0
votes
1answer
21 views

Missing Header Links. Magento 2.1

as you can see create an account and login is missing from the frontend
1
vote
0answers
75 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:...
0
votes
1answer
18 views

How can I remove the reviews section from the product details page? Magento 2.2.7

I am using standard Luma theme installed with Magento 2.2.7. I would like to remove the "Reviews" panel completely and also the links below the Add to Cart button. Where can I find the template ...
0
votes
2answers
56 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
53 views
0
votes
3answers
91 views

Magento 2.2.7 - How to move product title above the product image?

As it says in the title, it would like the product title to move above the product image.
0
votes
1answer
37 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
38 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
94 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?
0
votes
0answers
43 views

Magento 2 on mobile display layered navigation before products

In default Magento theme, on the category page, the layered navigation is at the left column, and products in the main. This is OK. However on mobile, it first displays the products, and after the ...
0
votes
0answers
48 views

How to align product name , price to center in magento 2 ? it have option in theme or change in code

I have products in the page I need to centrer the product name and price? I have an option to theme or change in the code?
0
votes
1answer
43 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 ...
0
votes
1answer
25 views

“As low as” label still displayed after swatch selected

I have a problem in the category products view. I have configurable products as well, for those the swatches and a "As low as [price]" is displayed initially. Which is exactly what i want. When i ...
1
vote
1answer
208 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 ...
0
votes
0answers
25 views

Magento 2: Behavior of _theme.less and _extend.less in custom theme

I would like to change the primary colour of the Luma theme's blue button, I have two choices, override the variable value in _theme.less _extend.less If I use _extend.less, everything looks good ...
1
vote
3answers
100 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
3answers
165 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!...
1
vote
2answers
42 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 ...
2
votes
1answer
57 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 ...
5
votes
2answers
466 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).
2
votes
1answer
141 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.
1
vote
0answers
201 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 ...
0
votes
0answers
101 views

Magento 2.2.5: change configuration in magento 2 and block die

I'm learning how to create custom theme in magento 2.2.5 So when i come in Content/Configuration and change theme to my theme (named Custome Theme). You can see it in the below image Then, it make my ...
2
votes
1answer
829 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 ...
0
votes
0answers
276 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
2answers
474 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
532 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....
0
votes
0answers
135 views

Magento 2 Luma move Top Links to main header

We want to move the Top Links dropdown to the main header. We already placed the following line in /app/design/frontend/Theme/Theme/Magento_Theme/layout/default.xml <move element="top.links" ...
0
votes
1answer
429 views

Magento2 change Luma header template

We want to edit the Magento2 Luma header template, this so we can change the sort inside <div class="header content"> We want to place the block search before the minicart for example and ...
1
vote
0answers
59 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/...
0
votes
0answers
230 views

Add checkbox required in checkout page Magento 2 Luma

I modified the form.html page to the path: /httpdocs/vendor/magento/module-checkout/view/frontend/web/template/shipping-address The checkbox field comes out to me only that is not required even if ...
1
vote
1answer
72 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 ...
0
votes
1answer
101 views

Why would my layered navigation not close anymore?

I have created a child theme based off of Luma. On my category page layered navigation instead of it saying Shopping Options at the top I would like to have an image there. In my child theme I created ...
2
votes
1answer
25 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="...
0
votes
1answer
75 views

Rename CSS classes in Luma theme for Magento2

I am customizing the Luma theme for a project and notice that the homepage blocks of Luma have very particular names for their CSS classes, for example home-erin, home-t-shirts etc. I would like to ...
0
votes
1answer
491 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-...
1
vote
0answers
131 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
1answer
403 views

Add custom Select to contact form Magento 2 - Theme Luma

following other guides, I added in the page form to /httpdocs/vendor/magento/module-contact/view/frontend/templates/form.phtml and I added the code <div class="field selezione required"> ...
1
vote
1answer
904 views

Magento2 Layout move element only for desktop view?

I'm trying to adapt the Luma Theme for my needs and move some elements in layout. I add a default.xml file in my Child Theme and add those lines : <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
0
votes
2answers
37 views

Best way to change a color

I have created a new theme which is inheriting from Luma. Let's say I want to change the .page-header color, what is the best approach to do this? Should I use a _extend.less file? Or should I copy ...
0
votes
2answers
142 views

Extend theme css Magento 2

I have created a theme in which i have extended luma theme. Now in my new theme I want to add some custom css to overwrite some default css classes for that I added _extend.less inside test/luma/...
2
votes
0answers
20 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 ...