Questions tagged [theme]

Questions about creating, modifying and configuring Magento themes

Filter by
Sorted by
Tagged with
4
votes
1answer
179 views

What are the 6 possible template fallbacks in the Magento Study guide excerise?

I'm trying to work through the exercises in the Magento study guide. I've come the following: Add an additional hardcoded theme called “primary” that is always first in the fallback order in the ...
4
votes
1answer
150 views

How do I make Magento theme templates update friendly?

Imagine this scenario: User creates app\design\frontend\default\mytheme\template\checkout\cart.phtml User updates from 1.7.0 to 1.8.1 Cart page item qty updating does not work User compares both base ...
4
votes
1answer
1k views

Magento Onepage checkout horizontal Design

Hi 'm working on the magento responsive theme using bootstrap. In my onepage Checkout page, i need to customize that as horizontal listing. I have followed some tutorial. But in those tutorial ...
4
votes
3answers
263 views

Header Links showing twice under the Account Links in Mobile Menu Magento 2

I am getting Header Links twice under the Account Links in Mobile Menu. I have attched screenshot of that. You can see in the image there is twice header links under account tab. I'm using porto theme ...
4
votes
0answers
1k views

Magento 2 : Disable RequireJS (and all JavaScript)

Is there a way to disable RequireJS completely in Magento 2? I want to build a theme from scratch and I do not want to include any of JavaScript that Magento automatically includes, Including ...
4
votes
1answer
524 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 ...
4
votes
1answer
938 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 ...
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 ...
3
votes
3answers
13k views

jquery not defined error in magento 2

I am trying to bring banner scroll in magento2. I am using owl carousel for this purpose. Everything have done and implemented and is showing in firefox without any errors. But when checked in chrome, ...
3
votes
2answers
3k views

Magento CE 1.9 ordering ccs files

I'm running CE 1.9.0 & I've created a sub theme of the rwd template. So I have folders like so: app/design/frontend/rwd/mytheme/layout/local.xml app/design/frontend/rwd/mytheme/templates/ - ...
3
votes
2answers
37k views

How to add the product filter in the sidebar?

I just want to add the default filter in my sidebar. When looking at the official Magento demo, you can see this on the left sidebar (Shopping Options.) I assume this is available out of the box to ...
3
votes
4answers
13k views

how to delete a theme

In Magento2, I tried to follow this procedure. Just before the paragraph, "Theme Logo" I wanted to try to apply the theme already. It ended up in an error, then I decided to restart from 0. I deleted ...
3
votes
3answers
23k views

How to find theme name in magento,just by seeing in frontend [closed]

I wanted to know the theme name of this magento site : http://steel.newtrendzonline.com/
3
votes
1answer
6k views

Magento 2: No options under configuration>general>design

Since I updated to 2.0.4 I noticed there is no option in the backend to select a theme. (not sure if this is the cause or it happend before) Under Configuration > General > Design there is only the ...
3
votes
3answers
5k views

Remove /pub/media/styles.css from theme in Magento 2.0

I installed Sample data on magento2. How do I remove this stylesheet from my theme? <link rel="stylesheet" type="text/css" media="all" href="http://example.com/pub/media/styles.css" /> I ...
3
votes
2answers
9k views

Accidentally deleted .htaccess file inside pub/static folder

I accidentally deleted my .htaccess file. Before that I could just delete everything in the var and pub/static folder (except the .htaccess file of course) and just reload the page to see my CSS / ...
3
votes
3answers
2k views

Magento 2.1 Theme option not available in Store > Configuration > General > Design

I installed Magento 2.1 successfully.But When I go Store > Configuration > Design,theme option not avaiable.I tried pub deploy and flush cache and reindex command but theme option not available in ...
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:
3
votes
1answer
278 views

Magento 2 CE for official site vs Magento 2 CE from github

Is there a difference between Magento 2 CE from official site and Magento 2 CE from github Because I could not find many folders and files, and the file and folder structure is different. What is ...
3
votes
1answer
3k views

class magento\framework\serialize\serializer\json does not exist

I am trying to update my CleverSoft theme and I receive this in command line when I run this: php bin/magento setup:di:compile
3
votes
2answers
866 views

best practice for selecting parent theme in M2

I'm wondering which theme is best to use as my custom theme's parent theme? Should it be Magento/blank or Magento/luma? Does is matter or is one more stable than the other? I noticed some LESS files ...
3
votes
1answer
881 views

Magento 2 - discrepancy between documentation and theme files structure on github

I am creating a new theme and would like to start by duplicating the default blank theme and then modify it to become my new theme. When I checked the frontend developer guides, it indicated the ...
3
votes
2answers
4k views

How to find out package and theme name of our magento project?

I am facing difficulty in finding my package name and theme name in app/design/Frontend/ path
3
votes
3answers
2k views

Magento PDF invoice translations

I have localized and translated my Magento 1.7 installation almost 100% with csv translations, and some inline translations, however in my PDF invoices translations are not taking effect. Some parts ...
3
votes
2answers
6k views

Conditionally add CSS file in layout XML (local.xml)

I need to add a CSS file in local.xml based on some custom variables. I have 5 CSS files but each time only one needs to be loaded. I only know how to check if a single variable is set in the config. ...
3
votes
2answers
263 views

How to create new theme in magento 2 without parent theme delcartion?

What if i don't declare parent theme in theme.xml while creating new theme in magento 2? will the new theme work properly?
3
votes
2answers
3k views

how to speed up static content deploy for development

Especially after changing .html knockout js template files I have to always deploy static content with bin/magento setup:static-content:deploy <languages>. This makes development very slow. I ...
3
votes
1answer
19k views

linking customer/account url in a static block

In our theme we have a static block for the links we have in our footer. We have three blocks with Account, info and social media. At the moment everything is hard coded with relative link paths to ...
3
votes
1answer
706 views

Is there a list of my account sidebar link names for use with removeLinkByName module?

When trying to remove my account links in the sidebar, using the module outlined here http://www.magentocommerce.com/boards/viewthread/435/#e9 Is there a list of all the names that are associated ...
3
votes
1answer
2k 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 ...
3
votes
3answers
4k 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/...
3
votes
1answer
15k views

How to check which theme is being used in a magento based website.

Suppose I found these website: http://www.made.com or this one http://www.elegantsteps.co.uk/ I know that both are based on Magento, And everyone else know it's easy install wappalyzer and it will ...
3
votes
1answer
2k views

how to remove html class from magento2

This is default class header content and footer content <header class="page-header"> <div class="header content"> how to remove them? I cannot find any way to do that and also don't ...
3
votes
2answers
289 views

using local.xml or specific .xml

What are the advantages (or disadvantages) of using local.xml to modify a block (or something else) instead of editing a specific page (ie. catalog.xml or something else)? When to use which? I'm ...
3
votes
1answer
2k views

When to use method insert (xml)

I would like to understand when (and why) should I use <action method="insert">...</action> instead of using <block type="... />. Example: move cart sidebar from left to right ...
3
votes
1answer
686 views

Magento Theming Between Community & Enterprise

I have recently been developing a theme for Magento Community v.1.7, and have found out that my client needs to launch on Enterprise. My current theme is built on top of the Base Community theme. If ...
3
votes
2answers
2k views

Magento 2: How to change the error/validation message in the customer login page?

I'm trying to override the error message that shows when a user inserts a wrong password/ wrong email. You did not sign in correctly or your account is temporarily disabled. Where and how i can ...
3
votes
6answers
3k views

Magento2: Override template not working

I am trying to put template /vendor/magento/module-payment/view/frontend/templates/info/default.phtml to my theme on below path app/design/frontend/Smartwave/porto/Magento_Payment/templates/info/...
3
votes
2answers
3k views

Magento2 : Adding my own Background Image to a Custom Theme

I've added a custom magento theme, and now im trying to add a background image to it. But the dev console in chrome & firefox keeps saying: "Could not load the image". I've put the image in ...
3
votes
1answer
2k views

Layout updates in theme.xml

So I know that in the theme.xml files in Community 1.9 or Enterprise 1.14 you can specify the theme fallback but while upgrading a customer from Enterprise 1.13 to 1.14 I noticed that there are also ...
3
votes
1answer
2k views

Compare products using a checkbox

It seems too cumbersome for the user to have to wait for a page reload everytime they click on "add to compare" to add a product to a compare list and I wanted to change thelink with a checkbox and ...
3
votes
2answers
67 views

What is the difference of map vs path?

What is the difference between map vs path when building a theme / module? Which are the restrictions? var config = { map: { '*': { 'jqueryjs': 'India_Newtheme/js/jquery', '...
3
votes
2answers
586 views

How to display customer name instead of My Account in header

I would like to display the customer name when they are logged in. I know that I have to use something like the below code but I don't know how to implement it. <?php if(!Mage::getSingleton('...
3
votes
1answer
3k views

Magento\Framework\Exception\LocalizedException : Could not read config file Magento 2

I created a new theme in magento2, after creating theme, I reloaded my local site, getting this issue.
3
votes
3answers
2k views

Magento 2: Why my custom CSS isn't working?

I'm creating a new Magento 2 theme. I've needed to add custom CSS to I'd created 2 CSS files local-l.css and local-n.css in this location: app/design/frontend/myvendor/mytheme/Magento_Theme/web/css ...
3
votes
3answers
951 views

CSS Not Reflecting in Magento 2

I have customized Magento 2 home page using custom theme extends from luma theme. While Header customization, change color "header.wrapper" it's not reflecting. But some other properties are working. ...
3
votes
1answer
3k views

How to load custom JS and dependencies using RequireJS

I'm struggling to understand where and how to correctly configure RequireJS to load my custom JS and it's dependencies. What I have below is working but I don't think it's set up correctly. My theme ...
3
votes
2answers
16k views

How to edit html in the body of Magento

I am curious as to how to edit content in the body of my Magento website. I can find and edit the header and footer with ease, but if there's anything in the body I seem to get lost as to how I can ...
3
votes
1answer
1k views

How to display custom attribute in related product in related.phtml

I need to display custom attribute in related product. I have tried get value of custom attribute in related product from related.phtml file. app/design/frontend/base/default/catalog/product/list/...
3
votes
1answer
525 views

Subdomain multi-site with separate files

Is it possible to run a site (beta site, beta.subdomain.com) with separate files in the subdomain rather than using symlinks? I want to test this way so the files in the subdomain are separate from ...

1 2 3
4
5
29