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

1
vote
2answers
31 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
22 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
24 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
65 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
79 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
17 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
23 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
34 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
11 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
25 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
21 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
36 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
28 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
142 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
55 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
19 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
56 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
31 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
49 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
48 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
27 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
34 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
56 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
35 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
27 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
26 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
41 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
117 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'...
1
vote
1answer
85 views

.lib-url-check is undefined Magento 2.3 static content deploy error

Magento 2.3 when deploying static content this error occurs: Compilation from source: /var/www/html/MyProject/vendor/magento/theme-frontend-blank/web/css/styles-m.less .lib-url-check is ...
2
votes
1answer
39 views

Magento 2 - Adding external link for Font Awesome URL

Here I am making my own theme and I want to add font-awesome external URL. I have created a file in my custom-theme directory in the path app/design/frontend/vendor/theme_name/Magento_Theme/...
1
vote
1answer
39 views

How to override top menu css in Magento 2?

I want to override top menu CSS and replace it with my own CSS. I don't know which CSS file is responsible to display top menu. I only need to override CSS and don't want to make any changes to ...
2
votes
1answer
31 views

Magento custom theme, overwrite block content

I developed a custom theme for Magento 1 for one of my projects. Or tried to follow the guidelines of the communites. I have not overwritten the files {layout}.xml I have created new ones on a module ...
1
vote
0answers
26 views

Magento 2 - Is it OK to remove Magento standard CSS completely?

I'm making a website using my own theme. I wonder if it's an OK practice to remove Magento's standard CSS styles-m.css and styles-l.css, and only using my own CSS? <remove src="css/styles-m....
1
vote
0answers
27 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 ...
2
votes
5answers
134 views

Magento 2 command line for php bin/magento setup:upgrade

I have an issue to install Magento theme extension using -jailshell-4.2$ I used to be use command line php bin/magento setup:upgrade And now the "TERMINAL" on my mac doesn't work properly as before. ...
3
votes
1answer
33 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 ...
2
votes
1answer
74 views

Magento 2.3 Help removing wasted white space in mobile version

I am sure this is a simple one to answer, if you go to our site www.terabytecomponents.co.uk and open chrome developer tools to switch to mobile view, there's have 2 divs that are creating a white ...
1
vote
1answer
46 views

Removing CSS as part of custom page layout

I have a custom page layout defined as lf_cms in layouts.xml file, and am trying to remove the css file as defined in default_head_blocks.xml and load a new CSS file, except the CSS changes are not ...
1
vote
0answers
20 views

In Magento 2, Can we use bootstrap 3 on Ves Need theme?

Is that fine to use Bootstrap on Magento 2?.
0
votes
1answer
21 views

Add custom template in footer in magento2

I have added the custom template in footer. It displayed in all page .But in view page its throwing 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid ...
1
vote
0answers
21 views

How to fix My Account menu link in Magento 2.1 after migration from 1.9

We have upgraded our store from Magento 1.9 to Magento 2.1. the My Account is link to /index.php/account it should link to /index.php/customer/account/ We are using Solwin FreeGo theme for Magento 2. ...
2
votes
1answer
57 views

How to disable frontend for CMS/API-only, headless Magento 2.3

I'm currently working on a web-app that uses Magento 2.3 as a CMS-only. How can I disable the customer-facing frontend and leave only the admin pages accessible? Alternatively, is there a way to set ...