Questions tagged [theme]

Questions about creating, modifying and configuring Magento themes

Filter by
Sorted by
Tagged with
0
votes
1answer
9 views

Magento 1.9 Support stop will affect the current site. Did authorize.net also stop support?

I planning to upgrade the Magento 1.9 to Magento 2.3 in mid of June. meanwhile, what is an issue that occurred on Magento 1.9? Also, authorize.net will stop accept the payment in Magento 1.9. What ...
1
vote
1answer
1k views

how to change default theme color in magento 1.9?

How can the default theme color be changed in Magento 1.9 i want to change #Theme Color 1 And #Theme color 2 but i can't find how? My admin configuration is :
0
votes
0answers
8 views

How can I change menu font with custom font?

How can I change menu font with a custom font? The font is already installed in my child theme and I can use it on home page with <style>font-family: 'BPG Arial Caps'; </style> But how ...
3
votes
1answer
1k views

CSS not showing for “NEW” or “SALE” label

So I followed this tutorial to add "NEW" or "SALE" label for this site: http://www.ubertheme.com/docs/add-product-labels/. The label does show up on the product icon but for some reason the CSS isn't ...
0
votes
0answers
12 views

Invalid template file in module ''

I just installed a new theme, and as soon as I go to the front-end I get this exception: 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: '...
3
votes
3answers
2k views

How to solve “Duplicate Of Template Name”?

When I installed a new module and did the setup:upgrade I received this message:
2
votes
2answers
14k views

How to setup multi stores with different themes for Magento CE

I'm new to Magento. Our plan of creating eCommerce website with Magento CE is like that: we only have one website (one domain), first, we will create one store, name 'handbag', the landing page will ...
0
votes
0answers
13 views

Magento 2: Desktop and Mobile Themes switched after flushing the cache

I'm using two themes for the Magento 2: Desktop Theme and Mobile Theme. But, I am facing a strange issue. After flushing the cache, If I refresh the site on my desktop, The Desktop version loads ...
5
votes
2answers
1k views

$block->getViewModel() returning NULL

I am overriding the layout and adding ViewModel in that layout but when I try to fetch the ViewModel getting below error PHP Fatal error: Uncaught Error: Call to a member function getCodes() on ...
0
votes
0answers
10 views

“bin/magento theme:uninstall frontend/Magento/luma” results in “dependent package(s): magento/product-community-edition”

Magneto 2.3.4 Community, attempting to uninstall the luma theme, but there is some kind of dependency: [public_html]$ bin/magento theme:uninstall frontend/Magento/luma Unable to uninstall. Please ...
4
votes
1answer
6k views

Theme logo not changing in magento 2 custom theme

I had created custom theme in Magento 2 and parent theme as Magento/blank. In my custom theme I have changed logo for my theme. I had declared the theme logo in the app/design/frontend/Prasan/Sanku/...
0
votes
1answer
21 views

Does Magento 2 Enterprise aka Commerce only work if my theme is based on luma theme?

One of our subcompanies plans to upgrade to Magento 2 Commerce. Their agency claims they have to reprogramm our theme to make it based of of the Luma theme, otherwise it won't work with enterprise/...
0
votes
0answers
13 views

Unable to load theme by specified key: ''?

I updated to Magento 2.3.5 and now when I open a product in the backend, I am getting Unable to load theme by specified key: '' I googled it and found solutions where I am supposed to delete entries ...
0
votes
1answer
1k views

mage/translation not working magento 2 (translation issue)

I am working on pdp page (mobile view), in drop down i need to show out of stock if qty is out of stock and low stock if qty is low stock, it is working as expected but it is not getting translated to ...
0
votes
0answers
14 views

Magento 2 - Do I have to create a new theme and recode my extensions after upgrading to magento 2 enterprise?

Do I have to create a new theme after upgrading to magento 2 enterprise and will my extensions stop working?
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 ...
0
votes
0answers
23 views

Make Fonts Available to Subthemes

I have a Magento 2.3.3 instance that has many sites. We have purchased a theme, created a common subtheme that will be used as a parent theme for all sites. To illustate: purchased_subtheme (parent ...
0
votes
2answers
65 views

How to use responsive.js in a theme derived from Luma?

The Magento DevDocs says You can use the menu.js, responsive.js and matchMedia.js to add responsive behavior in your custom theme. If your theme inherits from Blank or Luma, you do not even ...
0
votes
3answers
12k views

Magento 2 : How to Include New Fonts

I have added new fonts in <my theme>/web/fonts, and declared those fonts in <my_theme>/web/css/source/_typography.less. But still my custom fonts not reflecting in my pages. I'm missing ...
71
votes
19answers
74k views

Required parameter 'theme_dir' was not passed

What is the error message: Required parameter 'theme_dir' was not passed Is it related to in Magento 2? And how can this problem be fixed?
0
votes
0answers
13 views

Render page content within a template?

This seems like a basic request but I can't find it in the documentation. I'm using a from-scratch template(.phtml) and need to pull the CMS content onto the page. So how do I show the "content" field ...
3
votes
3answers
3k 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
1answer
2k views

Magento 2 - Creating a child theme

I purchased a theme for a Magento 2 website. I know want to create a child theme to modify some of the styles, etc. The theme purchased is called Porto and resides in /app/design/frontend/Smartwave/...
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 ...
0
votes
2answers
1k views

Element 'block', attribute 'class': 'about-us' is not a valid value of the atomic type 'blockClassType'

I migrated M1 data to M2 using ubertheme data migration pro. When I install a theme to my site and load the home page, I am getting the following exception: 1 exception(s): Exception #0 (...
2
votes
2answers
2k views

Magento 2 and Client Side Less Compilation

I have stock Magento 2 installed and running with a custom theme that uses the 'blank' theme as its parent. My custom theme is active on my store and it works, I can create my own styles and template ...
0
votes
1answer
30 views

Override a parent theme in vendor with a child theme in app Magento 2.3

I have made a theme that is a child to a customized theme that is a child of Luma. My theme lives in: app/design/frontend/{mycompany}/{mythemename}/ My themes parent lives in: vendor/{...
1
vote
1answer
3k 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
0answers
12 views

Magento 2- Added widget in static block is not visible in front end

I have created a static block and within the block, I have added an embedded code for new_products widget. All content is visible in the front end except the widget. Embedded Code: {{widget type="...
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="...
2
votes
2answers
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.
0
votes
0answers
13 views

m2 native support or recommended extensions for wholesale site requirements

We just switched to m2. In m1 we had to get a programmer to customize our site. We have a wholesale site and a retail site running off the same data, multistore. We are looking for the least costly ...
1
vote
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
2answers
2k views

"Unable to load theme by specified key: '6

Im getting errors after I done a fresh install to magento 2.1.6 and relinked to old DB. Now when I select certain items in the menu it will throw this error. I went to DB and changed the theme ID over ...
0
votes
1answer
15 views

Magento 1/theme or NGinx fault? 404 on some theme feature settings

We've got Magento 1.9.4.4 on nginx/1.14.2 and PHP v7.3.14 and we're using EM Titany (free) theme. I've just moved the shop from an old server to a new one (PHP5 to PHP7) and things have been working ...
0
votes
1answer
23 views

Remove main product image from gallery (and placeholder)

Steps: I have a configurable product with main image for thumbnail and everything else. I create a variation with it's own image. I select hidden in product page in the main product's image. ...
0
votes
1answer
19 views

Error when using command setup:di:compile .Sm/CartQuickPro

Repositories code generation... 1/7 [====>-----------------------] 14% < 1 sec 70.0 MiB Fatal error: Interface 'Magento\Framework\App\Action\HttpPostActionInterface' not found in /var/www/html/...
0
votes
0answers
10 views

Magento 1.9 template overwrites between default theme, custom theme and custom module

I developed a Magento 1.9 custom module and have some strange situations that in my opinion can't be handled properly. My module needs to overwrite some specific templates like /catalog/product/view....
0
votes
1answer
25 views

Magento 2 new theme from scratch how to delete content below footer

I have created a new theme from scratch (so it doesn't inherit any themes). I have added my custom css, moved some blocks, removed some blocks without any difficulties. But I have one problem, there ...
7
votes
5answers
4k views

Magento 2: How to setup separate theme for desktop and mobile?

I want to load device wise (like mobile and tablet) theme in Magento 2. How can I do that? I have tried below code in User Agent Rules but not working for me: iPhone|iPod|BlackBerry|Palm|Googlebot-...
3
votes
2answers
2k 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) ...
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/...
1
vote
2answers
2k 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 ...
0
votes
3answers
1k 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 ...
0
votes
3answers
66 views

Theme(Zemez template monster) not supporting Multi-select Layered Navigation extension in magento 2.3.3

I have been searching for a free and open source Multiple select Layered Navigation. I found this https://www.magesolution.com/magento2-layered-navigation.html extension which working 100% fine and ...
0
votes
0answers
15 views

Change order of merged css in porto theme

I have been having trouble getting my css to version correctly. I am using Porto theme on magento 2.3.4. In the past, all my css was handled in a file called custom.css. This is fine but the problem ...
0
votes
0answers
40 views

Magento 2.3.4: unable to change new theme

we recently upgrade Magento version to 2.3.4 and found an issue while creating a new theme. We create new theme below is the code: app/design/frontend/Mycar/mycarnew/composer.json { "name": "Mycar/...
2
votes
1answer
332 views

SyntaxError: Cannot read property 'numerator' of undefined in pub\static\fron \package\theme\en_US\css\source\lib\_responsive.less

SyntaxError: Cannot read property 'numerator' of undefined in pub\static\frontend\package\theme\en_US\css\source\lib_responsive.less on line 44, column 9: 43 @media only screen and (max-width: ...
0
votes
2answers
327 views

Static content deploy issue for Magento 2.3.2

Hello! After upgrading Magento 2.1.8 to Magento 2.3.2, I get an error when run command: > php setup:static-content:deploy or > php setup:static-content:deploy en_US -f Text of my Error: ...
0
votes
0answers
29 views

Mobile theme is not getting refelected after merge CSS in desktop

I created separate theme for the mobile and the desktop.But in the Mobile string name it is causing an issue at admin in the directory Content->Configuration->Custom theme->edit->Add new user agent ...

1
2 3 4 5
29