Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [theme]

Questions about creating, modifying and configuring Magento themes

0
votes
1answer
20 views

Is it possible to install themes without SSH, just by using FTP?

I have a vps, installed Porto theme on Magento 2, I paid the theme developers for support. Every time I face theme installation problem, or things like that, I contact the support. They keep saying ...
0
votes
0answers
15 views

Can't make changes to custom theme footer

I've been trying to make some changes in the footer for a Magento store. This part of the footer comes from our own theme, under Magento_Theme/templates/html/footer/footer-menu.phtml. However I can't ...
0
votes
2answers
34 views

Is it necessary to use a child theme?

I'm using Magento 2.3.1 and Porto theme, that theme is a hassle to install. Just got it done. This is a Porto child theme Is it necessary to install it? is there an easy way to install it without ...
0
votes
1answer
22 views

theme magento 2 not working

I installed magento 2 on my computer and I copied the code of the theme in the app\design and pub\ that works on the server but it does not work properly on my computer. Help
0
votes
0answers
16 views

Magento 2.2 - It is possible to change the font on the Magento Admin?

Do we need any themes or we can change the font from the existing Magento files as we change the fonts on the frontend?
2
votes
3answers
32 views

theme language translation

I have installed a new theme, I created the i18n directory with the csv file. I entered this command to create the dictionary: php magento2/bin/magento i18n:collect-phrases --output="magento2/app/...
0
votes
1answer
19 views

2 Contact Pages, need to remove one [closed]

I have a Contact Us page within the main menu in my site: https://staging.propmasters.net/ The main menu links to https://staging.propmasters.net/contactus.html Where can I edit this content? I've ...
0
votes
2answers
61 views

Changing file permissions to 777 breaks website

I am trying to install a theme to a magento site, but running setup:upgrade after the files are transferred breaks all css and javascript. I read that the file permissions may be an issue, so after ...
0
votes
0answers
12 views

Magento 1.14 custom skin not applied to products

I created a custom design skin and assigned it to some categories under Manage Categories/Custom Design tab, and selected Yes to Apply To Products. This works fine if the user drills down through the ...
0
votes
0answers
10 views

Magento 2: Changes of Fontsizes in _theme.less don't cascade more than one level

I currently have an issue with theme inheritance. My structure is as follows: magento luma | -> Company Main Theme | -> Sub Theme 1 | -> Sub Sub Theme 1 | -> Sub ...
1
vote
0answers
20 views

How to set “theme_dir” error. Magento 2 [duplicate]

I just copied the data form the site on which I'll work but after replacing that data with my custom luma first it gives me the Permission error I give them permission but after that it gives me 1 ...
2
votes
1answer
37 views

How to override the entire product page with a new template for products which are Out of Stock?

I would like to change the way Magento 2's product page looks for products which are Out of Stock. Basically I want to replace the entire product page with a simple message (and maybe a picture of the ...
2
votes
1answer
17 views

make sticky header without custom js code

I tried to make the header sticky using the default jquery code: $('.page-header').mage('sticky', { container: '.page-wrapper' }); I added this piece of code into the theme.js file in the ...
3
votes
1answer
44 views

Move block inside another block

I want to put the header.links into another block. this is the icon.phtml file: <div data-block="dropdown" class="minicart-wrapper"> <i class='fas fa-user-circle action' data-trigger='...
1
vote
2answers
33 views

Move recently viewed product or completely remove it

Magento has a great feature to show recently viewed product, but now I need to move this element (recently viewed product) to exactly on the top of footer. I have no clue about how to show/hide or ...
2
votes
1answer
25 views

Removing block from layout doesn't work

I want to remove the register-link from the header links, so I have wrote in the default.xml of the Module_Customer of my theme: <referenceBlock element="register-link" remove="true"/> The ...
1
vote
1answer
25 views

Find the block class instantiated into a phtml file

I need to modify a block class called in a phtml file, this is the customer.phtml file: <?php // @codingStandardsIgnoreFile ?> <?php if($block->customerLoggedIn()): ?> <li ...
1
vote
3answers
72 views

Magento 2: How to override theme LESS styles within custom module

I am running Magento 2.3 on Ubuntu 18.04 server with Apache 2.4, MariaDB and PHP 7.2. Magento is running in developer mode. I have created a custom theme which inherits from the Magento/blank theme. ...
4
votes
2answers
80 views

Create less file for custom Theme

How to create new *.less file in Magento 2.3 project ? Here is my existing Theme: Here is my existing less file that DOES NOT work: Nothing is work here: My question is how to add custom less code/...
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:...
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: ...
1
vote
1answer
35 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 ...
1
vote
0answers
11 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 ...
3
votes
1answer
30 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 ...
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 ...
5
votes
1answer
38 views

Magento 2 : Getting error like “Only default scope allowed” when click to the theme option at the backend

Getting error like below : 1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Only default scope allowed Exception #0 (Magento\Framework\Exception\LocalizedException): ...
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 ...
1
vote
2answers
57 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....
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
22 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?
0
votes
2answers
209 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::...
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
1answer
97 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
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....
0
votes
1answer
72 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 ...
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
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
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 ...
0
votes
1answer
56 views

XML declaration allowed only at the start of the document

i am getting this error on developer mode but works in default Exception #0 (Magento\Framework\Config\Dom\ValidationException): Theme layout update file XML declaration allowed only at the start of ...
0
votes
0answers
20 views

HTTP 500 error when trying to edit magento theme setting

I just installed Magento 2.3 with sample data on an Ubuntu 18 VM. I'm playing around with creating themes based on tutorials I found online. I created a sample theme, uploaded it, logged into admin, ...
1
vote
4answers
61 views

how to override Custom theme phtml file by custom module

I Want to override this is Current theme path that i want to override. I have a file In /public_html/app/design/frontend/Venustheme/fashion/Magento_Catalog/templates/product/view/gallery.phtml ...
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/...
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 ...
0
votes
0answers
37 views

Magento 2.3 Add User New User Agent Rule not working

I have 2 custom themes, one is applied globally and everything is fine with it. Now I want to apply a second theme for mobile devices. Whatever I type in the back-end field for the user agent the ...
3
votes
1answer
27 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 ?
2
votes
1answer
42 views

Creating grandchild themes

I'm using ultimo theme for a multi store configuration. Since I have to update the theme regularly I don't want to make changes to the base files of it.But I've to make some changes which apply to all ...
1
vote
1answer
154 views

Magento 2.2.5 - Uncaught TypeError: Cannot read property 'dialog' of undefined

Installed Magento 2.2.5 with sample data, everything works fine. Added a new theme Ves Need theme, got the below issues on the home page console. Uncaught TypeError: Cannot read property 'dialog'...