Questions tagged [theme]

Questions about creating, modifying and configuring Magento themes

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

Use css of one theme into another

I want to use CSS from .less file of one theme into another theme phtml file. There are two theme in my Magento 2.3 site. How can i do this?
0
votes
0answers
8 views

Firefox TypeError: options is undefined in customer-data.js with Weltpixel pearl theme 1.5.5

Getting TypeError: options is undefined in customer-data.js with firefox, With chrome it's working good no issue. Using Magento 2.2.0 & Wetpixel pearl theme1.5.5 This issue is not coming for all ...
2
votes
6answers
7k views

Magento 2 - Create New Theme based on the blank theme

I'm new to Magento I try to create new theme based on the magento blank theme and I follow the Frontend developer guide in magento web site but I could not inherit from Magento/blank and when I open ...
61
votes
17answers
62k 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
1answer
750 views

Magento 2 custom Theme no css and products loaded in frontend

I created a new Template based on the Blanco/Luma theme as pointed out in several howto's as in this topic) Strange thing is that the css and the products (and images) which are available do not load ...
0
votes
1answer
23 views

Add custom header link in custom theme

I am trying to add custom header link, but it is not showing.
2
votes
1answer
26 views

magento2 Programmatically change theme in runtime

I have a cookie variable mobile-application = "yes". I need to set a custom theme depends on this variable in magento2. I've already created a custom theme. How I can set it programmatically in ...
0
votes
0answers
20 views

What makes a good theme for performance and reliability?

I am researching the most efficient themes for Magento 2 that will be reliable and supported hopefully for 4 to 5 years. On our current Magento, theme bloat is a big issue. We have extensions for a ...
7
votes
3answers
3k 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-...
0
votes
0answers
21 views

Block referencing not working with specific theme

I've been trying to add more blocks to my theme's existing header block but I just can't get it to work. Below is code from my layout file in a module that I have created. As you can see, it is very ...
1
vote
0answers
30 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 ...
16
votes
4answers
79k views

Current Skin Url

I want to get skin URL of my current theme. At present I am working in Magento "rwd" theme. And I am using below code to get skin URL: Mage::getDesign()->getSkinUrl(); This returns me URL http://...
3
votes
1answer
636 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
2answers
1k views

How to add header to checkout page on magento 2 LUMA theme

I have headers on all the pages in LUMA theme except the checkout one. Screen shots are attached for the reference. As you can see in the attached images, we have header on product view page and its ...
0
votes
2answers
51 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: ...
6
votes
0answers
2k views

Magento 2: changing custom theme default layout

I have custom theme that inherits no parent theme from Magento. The default layout appears to be 1 column, and I am able to make modifications to that column in my custom theme's layout\default.xml ...
4
votes
1answer
870 views

Customer name is missing in welcome message after login

In header, there is a welcome message which can be configured in the Magento backend. However after login, i found that the customer fullname is not insert into the welcome message,(i.e. always ...
1
vote
0answers
52 views

How Can we use React JS product View page in magento 2?

I need to do some functionalities in which the page to not load. I prefer to react js but I don't know how to add react js for selected modules of Magento. I need to react for Magento component view ...
3
votes
3answers
3k views

How to configure Magento 2 Theme/Design via the Command-Line?

I'm doing some server configuration related tasks and was looking for a way to configure the theme of a store/website via the command-line. I'm setting up a store with a custom theme (e.g. "Vendor/...
0
votes
0answers
18 views

Failed to load resource: the server responded with a status of 404 (Not Found) theme.css.php: 1

The website design suddenly disappeared It worked fine until yesterday, but I noticed that some designs were not displayed today Check it out Failed to load resource: the server responded with a ...
0
votes
2answers
45 views

Call footer block of one theme into another

There are two themes which i am using. One is magento theme 'Smartwave porto' and another is Ced commerce theme which i got for ced commerce extension. This theme is enabled only for this particular ...
0
votes
1answer
72 views

How to build custom theme with page and static blocks in Magento2?

I am trying to create custom theme with inbuilt Cms pages and Blocks? For example once the theme files moved and installed can able to see all the blocks and pages are created in magento. I followed ...
0
votes
1answer
27 views

Page builder in magento2

We are going to build a magento2 website which is already in magento1, and having 300+ CMS Pages and some of CMS Blogs. For that i'm looking for the theme which supports the page builder extension. ...
3
votes
1answer
935 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 ...
3
votes
6answers
4k views

Magento 2: Permission issue with generated directory

I'm having issues installing a theme due to the 'generated' directory not generating all of the files that need to be generated after I run command: php bin/magento setup:upgrade Which I think is ...
0
votes
0answers
27 views

Override module specific styles.css using less

In my magento 2.3 installation I am using a 3rd party module that has its styles defined in <vendor>/<module>/view/frontend/web/css/styles.css. I need to override this in my custom theme ...
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
23 views

Magento 2: Move compare products in sidebar above the filter

I need to move the compare products and wish list above the layered navigation in all pages. I have tried this below code in default.xml <move element="sidebar.additional" destination="columns....
1
vote
2answers
436 views

Custom CSS for mobile site

I am currently running my magento site with the responsive Ultimo Theme, which has been great so far. However, i am wanting to make some custom css changes to hide some elements on my site which are ...
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
40 views

Magento 2.3.2 not loading my custom layout

I'm trying to override the customer login layout with no success. Magento for some reason is not loading my layout. I'm using Magento 2.3.2. This is my theme structure: I'm following this guide: ...
0
votes
1answer
1k 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/...
2
votes
2answers
1k 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
21 views

Magento 2 _extend.less in Adminhtml Theme

Magento 2 dev docs are very clear about best practices for extending module styles by placing a file named _extend.less in the <theme_dir>/<module_name>/web/css/source directory. This ...
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
1answer
29 views

Forbidden You don't have permission to access - Magento 2.2.9

When I'm trying to change my theme with the luma theme from backend on Magento 2.2.9 after upgrade from Magento 2.2.6, I'm getting following error. Please help
0
votes
1answer
23 views

Magento 2 - Invalid template file in catalog_category_view.xml

I have a custom template for category page list.phtml in my theme. list.phtml was addressed in catalog_category_view.xml as <?xml version="1.0"?> <!-- /** * Copyright © 2013-...
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 &...
1
vote
2answers
39 views

CSS and LESS files are ignored in custom theme

I'm trying to customize this component: As I read from the documentation, in order to override the style of this search bar you need to create a folder called Magento_Search and add an _extend.less ...
2
votes
3answers
54 views

How Uninstall Theme Using command line in Magento 2

How to uninstall or remove a theme using the command line In Magento 2. Thank You...
4
votes
1answer
406 views

Magento 2: Include header and footer in external php

I want to include header and footer layout of Magento 2 to external PHP file, I am using my own code(external PHP) to make a frontend page. how to add header and footer layout theme in Magento 2 to my ...
0
votes
2answers
76 views

I Need Help In Issue In My Theme Configuration: Magento 2

I think there is must be in-store and storeview the name of my store and store view ?? it was working but now when I go to edit anything in this design configuration it does not apply on my website .. ...
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="...
0
votes
0answers
16 views

How to actually make the site? [duplicate]

I've installed the demo site twice (with and without sample data) in the hopes to understand how everything ties together. Unfortunately, I'm still stuck as to actually designing and building the ...
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
1answer
173 views

Magento - Changing the place of block to another page

I am using MA2 Juno theme and trying to move default checkout block to another place, like this: Before: After: For this I figured out that I have to move this <?php echo $this->getChildHtml(...
1
vote
4answers
316 views

Remove “items” text in wishlist

I am new to Magento 2 and been wondering how to remove wishlist counter text. I had tried generating a language pack using this command: bin/magento i18n:collect-phrases -o "app/design/frontend/...
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
1answer
31 views

Invalid template file when installing theme

I have installed a theme into my Magento store and now I want to try to switch to that theme. After installing and setting the them in the configuration through the admin panel, I get the following ...
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 ...