Questions tagged [theme]

Questions about creating, modifying and configuring Magento themes

2
votes
2answers
26 views

find the ul tag inside header

I need to find the template or layout file that contains this ul tag: <ul class="header links"> <li class="greet welcome" data-bind="scope: 'customer'"> <!-- ko if: ...
2
votes
2answers
19 views

Page Styling (css) does not appear in the new Theme implementation (descendant of Luma Theme)

I just created empty theme which is descendant of Luma theme. but unfortunately the styling is not appear: theme.xml <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
2answers
888 views

confirmation popup on place order button

I want to add confirmation popup on place order button at final check out step.The flow is like if (click on I understood){ //then proceed } else{ //cancel } I tried to add simple jquery and ...
4
votes
3answers
2k views

Magento 2: Can't update product page layout in custom theme

(heavily modified the question for simplicity and clarity) As a test case I created <custom-theme>/Magento_Theme/layout/default_head_blocks.xml. Creating and modifying this file, according to ...
6
votes
1answer
13k views

how to create custom layout page in custom theme

I want to create a custom page layout in my custom theme. I have created a custom theme named "ktheme" with a parent theme. I created cutome_home.xml in the layout folder but I am just getting a blank ...
1
vote
1answer
36 views

Cannot find the register link phtml file

I enabled the path template suggestion and It doesn't show the path for the 'Create an account' link. Reading the html home page source I've saw these tags: <ul class="header links"> <li ...
0
votes
1answer
12 views

create new container in theme

i wanna remove footer container and create new footer but it does not work. this is my code <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
0
votes
0answers
12 views

Updating theme results in 500 error

I have magento 2.3.1, and I'm using the pearl theme. I tried to update the theme per their directions , but after doing that my site is down and all that I am getting is 500 errors. What can I do to ...
3
votes
2answers
2k views

Magento 2 child theme: CSS files not included

I want to add some CSS files. So I created a child theme. In Backend the theme is activated. theme.xml <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
1
vote
0answers
12 views

Changing theme does not work

I have changed something in my theme, but it does not appear after deploying static files. Removed all necessary folders and cleaned cache but still not working. Strange thing is, that on my test ...
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 ...
3
votes
1answer
31 views

Theme Preview Image does not appear on view theme admin

I just following this tutorial https://jamersan.com/lets-get-started-theming-magento-2-part-1/ , in this tutorial I learn about how to make Magento Theme, but unfortunately I unable to show Theme ...
0
votes
1answer
92 views

How to prevent theme inheritance

Does anyone know how to prevent your custom theme from inheriting from a parent theme like blank or luma? This apparently is adding its own css, and js, files to the page and is interfering with our ...
1
vote
1answer
378 views

Mobile menu on entire Magento2 site [closed]

I can't find any help how to make menu like mobile also for desktop. How I can change breakpoint or something to have one menu style.
1
vote
1answer
2k views

Changing Custom theme color in Magento 2

MY custom theme extends Magento Blank theme.Following this link, http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/css-topics/css-practice.html I added _theme.less in my css/source folder &...
0
votes
3answers
1k views

How to remove a payment option from onepage checkout?

In onepage checkout page , there is a field called "Payment Information". I want to remove the first option as shown in screenshot "Credit Card / Visa, Mastercard, AMEX, JCB, Diners" . I've ...
1
vote
0answers
24 views

Hide Product DropDown in Magento 2 [closed]

I am using an extension of the mageworx "Advanced Configurable Option ..." https://www.mageworx.com/magento-2-advanced-product-options-suite.html I could have used the basic magento configurable ...
1
vote
1answer
1k views

How to open a 600x400 pop up window, and show a static .html file, from a theme .phtml file?

I'm using Magento 1.9 with the latest version of Ultimo Theme. We used to use FancyBox to show some static .html files, from template .phtml files. But that does not work anymore, after upgrading to ...
0
votes
1answer
473 views

ajax autocomplete search with image result

I tried to install some extensions regarding Ajax search form I would like search in the catalog via ajax, so have suggestions and images in the results (see image) When i Install any extensions, once ...
1
vote
2answers
134 views

during theme installation im getting error

during theme installation, I'm getting this error: Module 'Magento_InventoryCatalog': [ERROR] Magento\Framework\Setup\Exception: Unable to apply patch Magento\InventoryCatalog\Setup\Patch\Schema\...
0
votes
1answer
2k views

Magento 2 : Undefined Index : Default

In Backend When I try to change theme at that time I got this error Exception #0 (Exception): Notice: Undefined index: default in /home/cloudpanel/htdocs/project/app/code/Codazon/ThemeOptions/...
3
votes
2answers
1k views

Magento 2: How to call Widget programatically?

I have created widget Type: CMS Static Block Theme: My Theme Display on: All Pages Container: CMS Footer Links Template: CMS Static Block Default Template Widget Options: Block (My selected block) ...
1
vote
0answers
14 views

Undefined variable: _ENV

every time I add the following directory and xml file: public_html/magento/app/design/frontend/Vendor/theme/Magento_Catalog/layout/catalog_product_view.xml Magento returns the following error on ...
0
votes
1answer
134 views

CSS and JS files for external theme not working in magento

I installed magento 2 and the luma theme works fine but on installing an external theme(multi stores by netbase), the page only loaded the header and complained about not being about not being able to ...
1
vote
2answers
64 views

Move category description from admin panel (Layout Update XML) in Magento 2

Our customer wanted to show category description after the product list by default, so we added a new container and the following line to the default.xml in out theme: <move element="category....
3
votes
1answer
34 views

Magento 2 CleverSoft theme Modules conflicting with other theme instaled on another website on the same magento Installtion

Good Evening everyone, I configured two websites on Magento 2. and set two different themes to the Websites. First theme was running Fine but when I Installed the another theme which is CleverSoft ...
1
vote
0answers
22 views

Installation limit on purchased themes for Magento 2?

Is there a limit on the number of stores or sites on which a purchased Magento 2 theme can be installed?
2
votes
0answers
23 views

Change theme color from admin dashboard in M2

I want to add an input field that will change the main color of the Luma theme. Could someone help me on what should my custom extension include?
1
vote
4answers
676 views

How to override Magento checkout shipping.html

myproject/vendor/magento/module-checkout/view/frontend/web/template/shipping.html Overring using the fallback. myproject/app/design/frontend/Solace/olsto_child/Magento_Checkout/web/template/shipping....
0
votes
1answer
107 views

Magento 2 Theme Development - grunt watch not detecting changes of custom LESS file

We are running Magento 2 in version 2.3.1, but the error occurred in version 2.3.0 also. The situation is the following: we've created a custom theme which has Magento/luma theme as parent. according ...
2
votes
2answers
2k views

Magento 2 - Overwrite module-swatches view.xml

How do you overwrite the view.xml in \vendor\magento\module-swatches\etc\view.xml in your own template? I want to overwrite the sizes for swatch_image and swatch_image_base. I tried putting the ...
0
votes
2answers
228 views

Issue with multiple custom product details tabs not displaying

In catalog_product_view.xml I have the following section: <referenceBlock name="product.info.details"> <block class="Magento\Framework\View\Element\Template" template="Magento_Catalog::...
1
vote
2answers
560 views

Magento 1.9 - Unistall theme

I want to unistall an old theme from my Magento. I read for the moment that is possible only from ftp and delete the current folders. I tried from the Magento Connect Manager but my custom theme does ...
0
votes
1answer
76 views

How to use different page layouts depends on base layout specified?

I have to use different page layouts (<page>) depends on base layout (<layout>) specified for a product. For example, if I select a layout in product's 'Design' menu with the name ...
0
votes
0answers
18 views

Menu Items Showing up Behind Remove Item dropdown Magento 2.2

Getting this issue with our magento e-commerce site, The remove item popup is showin below the menu, as you can see in the picture below the menu text appears over the dropdow menu, and are ...
0
votes
3answers
782 views

How to install a free theme on Magento 2.2.5 on XAMPP local host

I have installed the latest version of Magento2.2.5 without sample data using XAMPP. Now I am trying to install a free third party theme from Venus themes. I have copied the app folder from the free ...
2
votes
2answers
51 views

Best pratices to update the module-checkout

I want to add some custom text test to my mini top cart in my theme header section. I see it is located here: public_html/m2/vendor/magento/module-checkout/view/frontend/templates/cart/minicart.phtml ...
0
votes
0answers
20 views

Magento 2 Theme development when HTMLs are provided

I need to integrate,develop theme from the HTMLs provided.The designer provided me with Homepage,Cart,Account page HTMLs etc.Need to either integrate with existing luma theme or create from scratch....
1
vote
1answer
33 views

Mismatched Magento version while using composer

I currently have Magento running on Ubuntu Xampp, and attempted to run composer on a theme file, which prompted me to install a load of PHP extensions. I did this (7.2 for all of them, same as system ...
0
votes
2answers
1k views

Customize Magento2 sales email, in especial items.phtml

We are struggling since hours with customization of the Order- and other sales emails. The part with the email templates (e.g. order_new_guest.html etc.) works easily fine. However, we do not succeed ...
0
votes
1answer
194 views

Configure theme admin in frontend

I tryed to making a theme options for change font size and family from backend but in frontend i don't see changes. I see the option (font size and font family ) on adminpanel. I have done the file ...
2
votes
1answer
3k views

Remove or overwrite style-l.css in custom theme

I have some issues because of the order that CSS is being loaded in. We have <link rel="stylesheet" type="text/css" media="all" href="https://<site>/pub/static/_cache/merged/...
0
votes
1answer
52 views

how to do theme intergate in magento 2.3?

I downloaded a theme using this link How to used CSS js HTML same theme show in Magento 2.3 frontend side so please tell me what to do in theme integration
2
votes
1answer
50 views

Magento 2.3 add chunk of javascript code to my Custom Theme (phtml file)

I need to implement a Few Functions of javascript and a jquery code in to a phtml file in my Custom Theme. I have read about the different way of implementation but I am not sure which is the best way ...
0
votes
1answer
61 views

IP Admin url returning 404 error after succesfull installaion [closed]

Deployed magento on linux machine. I cant able to access front-end and admin after successful installation. store ip: http://52.187.32.74/rahhams store admin ip: http://52.187.32.74/rahhams/...
1
vote
1answer
43 views

Adding a favicon in magento 2.3.0 manually - it just appears in firefox

According to devdocs of magento 2.3.0 I tried to add a favicon manually. https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/favicon.html Attempt 1: /magento2/app/design/frontend/...
0
votes
1answer
16 views

Is it possible to add a template to a theme in magento 2?

Current situation: I have created a custom theme that extends from the Magento blank theme. Requirement: I need to add a section that contains some small images to the footer for the whole site. ...
9
votes
2answers
4k views

Magento 2 custom theme layout xml and css not working

I created a new theme and it was working fine but after a few days, I realized some things weren't working. default_head_blocks.xml is no longer pulling in any css files that I include (both hosted ...
0
votes
1answer
29 views

why button not showing in custom theme in magento 2?

when i go customer login and customer module and custom_module related pages button is not showing when i move a mouse over that button the button is showing how to solve this css color ...
2
votes
0answers
23 views

Finding source of a div “toolbar-top” on inhereted Magento 1.9 Project

I am working on a relatively complicated Ecommerce store on Magento 1.9. I need to add some very simple paragraph text above a toolbar header that floats in the category navigation section of the ...