Questions tagged [theme]

Questions about creating, modifying and configuring Magento themes

Filter by
Sorted by
Tagged with
3
votes
1answer
258 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
2answers
689 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
868 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
3k 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
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
169 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
1answer
170 views

Overriding template for a specific language

I would like to override a template but only for a specific language (ar_SA) The template I want to override is: Magento_Catalog/templates/product/list.phtml I have tried putting it in the following ...
3
votes
2answers
7k views

How to remove the Add to Cart button from Catalog pages in Magento 2?

How to remove the Add to Cart button from Catalog pages only?
3
votes
1answer
1k views

Magento 2 - Layout based on attribute set

I would like to do a custom product layout for product in a specific attribute set. In Magento 1 we could create a layout handle for a specific attribute set. What is the best way to do this in ...
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
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
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
1k 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
1answer
5k views

How to utilise the existing LESS variables in my new less file

As the title says, i want to use LESS variables that are already defined by Magento. for example, there is variable called @color-white defined in following file. ROOT/lib/web/css/source/lib/...
3
votes
2answers
285 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
681 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

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
1k 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
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
6answers
2k 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
1answer
2k 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
1k 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
1answer
1k views

How to overriding style for multilingual with RTL in magento2.1?

I have multilingual site in magento 2 and extended blank theme , i want to know where can i overwrite style for RTL(Arabic language) direction: rtl and other common and module wise style as well?
3
votes
1answer
2k 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
15k 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
521 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 ...
3
votes
1answer
74 views

css/html development for checkout process

I have created a theme and would like to finish it by styling the checkout and payment pages. Which trick can I play to have a »quick-access« to all these pages without the need of »buying« a product ...
3
votes
2answers
1k views

Add custom menus to magento

I need to add menus like here http://www.pickormiss.com as given here like Vegetables, Meatshops, Restaurant, Gift shops etc. How can I add such pages so, that it can be customized from the dashboard?...
3
votes
1answer
33 views

How would I link module-page-cache into my theme? [closed]

what would be correct spelling for the module? Magento_Page-Cache , Magento_Page-cache , Magento_Page_Cache ?
3
votes
1answer
22 views

Is there a standard way to make add a config on theme scope?

To solve a problem in an FOSS extension I need to introduce a configuration settings with the scope "theme". Is there a standard way do to such? I was thinking about extended in the theme.xml but ...
3
votes
1answer
108 views

How to set menu and header in one div magento2?

In my custom theme I need to put the header and menu in one div. Now I have the following structure: How can I add blocks in one div so I can have this structure ?
3
votes
1answer
902 views

How to create custom breakpoints in magento2?

How can i create custom breakpoint with min and max like @media only screen and (min-width:768px) and (max-width: 1023px) {...} in my custom theme in magento 2.1 ?
3
votes
4answers
4k views

Invalid template file error in Magento 2

In my custom theme, I added custom template for which I am getting invalid template file error in system.log. My xml file loctaion: app/design/frontend/{vendor}/{theme}/Magento_catalog/layout/...
3
votes
2answers
2k views

how to install theme in Magento 2?

How to install the following theme from Magento Connect: https://www.magentocommerce.com/magento-connect/free-theme-women-fashion-by-pagayo.html there is install click there but when click it, it ...
3
votes
3answers
9k views

How to edit and modify the main page of Luma theme?

For the Luma theme, how to: How to reach and edit the main page of magento 2 Luma theme? How to replace the images there with my images? How to edit the hot sellers section? How to reach and edit the ...
3
votes
2answers
1k views

Cannot read contents from file app\design\adminhtml\Magento\backend\etc\module.xml in Magento 2

I have created a adminhtml theme but it's throwing error. Could you please clarify me where I went wrong? my code is: root/app/design/adminhtml/Magento/backend/composer.json { "name": "magento/...
3
votes
1answer
5k views

Magento 2: How to override the luma default.xml

I wish to do some customization in luma theme (default.xml). I just created the default.xml file as specified below but it is not taking any effect. Note sure is this the correct way to override the ...
3
votes
1answer
912 views

Error after compilation in Magento

I am getting an error after compilation. I am using Magento 1.9.0.1. My website was running too slow so I have complied but after compilation my website (frontend as well as backend) has down and ...
3
votes
1answer
1k views

Add to cart ajax not working with secure and unsecure url

All Ajax is working perfectly when we are using secure base url = https or http and unsercure base url = https or http. When we add secure base url = https and unsecure base url = http. Now we have ...
3
votes
1answer
56 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 ...
3
votes
1answer
38 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 ...
3
votes
1answer
269 views

Magento 2 Override image problem (static image of parent theme)

Having a parent theme, I have created a child theme. (Magento 2.2) Parent theme: Mgs/claue Child theme: Bee/elag In the web there is a Title of page with a background css: .page-title-wrapper { ...
3
votes
5answers
614 views

How to turn on Template Path Hints in Magento2 Through Code edit

I know that you can turn template path hints on in Magento2 through the Admin Panel at Stores > Configuration > ADVANCED > Developer. Although in Magento 1 I find it much quicker to temporarily edit ...
3
votes
1answer
54 views

Is my current way to create a new Magento2 theme the correct method?

I have to create new theme that looks the default Magento Blank theme (other colors, other font). That's why I created a new theme with 1 file less css/source/_theme.less. This file _theme.less looks ...
3
votes
1answer
358 views

Magento : how to add featured products in homepage

I installed a new theme, I dont know how to add featured products in homepage for my magento1.9.0.1.. please help me how to do this?
3
votes
2answers
184 views

Magento 2.1.3 Create theme

I'm beginning with Magento and it's incredible that create a theme is so complicated... I've understand that to add my css to the head I need to override a layout. So I override default_head_blocks....
3
votes
3answers
974 views

How to remove header phone number [closed]

I would like to change or remove the phone number on top right of this Magento site. Please can someone assist me. I have tried every where in the admin section to find it but couldn't find where to ...