Questions tagged [theme-overriding]

General question for the customization of default Magento theme or any third party theme for the extra customization & maintain the upgrade-ability of the theme.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

how to override new_grid.phtml file without custom theme?

i want to override new_grid.phtml file in luma . my path is below app/design/frontend/Magento/luma/Magento_Catalog/templates/product/widget/new/content/new_grid.phtml. but not working. Could you ...
0
votes
0answers
50 views

Customize links on top header personal area dropdown menu - Smartwave Porto Theme - Magento 2

I'm working on a Magento 2.3.5 website with Smartwave Porto theme installed and I need to customize the top header menù that give access to the personal area. I need to customize the links in the ...
1
vote
2answers
133 views

Magento 2: Custom module to override the logo.phtml file of the custom theme

Naming the custom module to override the logo.phtml file found at the path seen in the screenshot below a bit confusing to me as the module name is too long to decide on the naming. The vendor of the ...
0
votes
0answers
146 views

Override Magento_Ui base view template file on Magento 2

In Magento, we can override vendor's file vendor/magento/module-ui/view/frontend/web/templates/form/element/input.html like: app/design/frontend/{Vendor}/{ThemeName}/Magento_Ui/web/templates/...
1
vote
2answers
95 views

Override template edit account didn't work on front end

I like to override magento/module-customer/view/frontend/templates/form/edit.phtml template, in my desktop it works but in our development server, i got this page , looks like there's inheritance ...
0
votes
2answers
509 views

How to add a custom tab in product detail page?

I want to add three more tabs below the already present details tab in product detail page as shown in the picture below. Can anybody please help me with this? Please see this screenshot for the ...
4
votes
2answers
782 views

Magento 2 how to get html from admin/sales/order/view

I am trying to figure out that how can I get the html that would be rendered on below page: "www.mysite.com/admin/sales/order/view/order_id/12345/" But I am not able to figure it out. I am trying ...
1
vote
0answers
86 views

How to redirect to custom/website maintenance page when hit an error?

How to make the redirection to custom page or other website's Maintenance Page when my Magento reports an error? Instead of showing the debug page no matter in which mode my website is.
1
vote
0answers
130 views

How to redirect to 403 custom error page in magento2 from controller

I am trying to redirect to custom 403 error page. I have created plugin for controller as follow: etc\di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
1
vote
1answer
348 views

How to create custom 403 error page in magento2

How can I create a custom error pages in my Magento 2 site. For example this pages: 500, 401, 403, and 404. I tried for create block: $layout = $this->_view->getLayout(); $block = $layout-&...
1
vote
0answers
39 views

After creating a custom theme in Magento 2 give an error in backend

Why does it gives an error if I just created my custom theme in Magento, besides this there is only one custom module and nothing else, where does this error comes from? And gives an error when I ...
1
vote
2answers
48 views

Magento2 : How to swap the footer links/contents?

How can I swap these two elements present in the footer section in the Magento 2 I installed ?
0
votes
1answer
138 views

Custom bootstrap overriding my luma theme style

I added the external bootstap in my custom theme I want to be it before style-l.css I referred Load Custom CSS After style-l.css For Home Page but it's only working from home page, not for other, ...
2
votes
3answers
1k views

How to call phtml of custom module in my custome theme layout Magento2?

Help me to get the content written in custom phtml of the custom module to my custom theme. I have custom theme Customtheme_Sample, which is having custom layout customhome.xml. And I have the ...
0
votes
1answer
45 views

Display sidebar

I'm using Magento 2 and I'm displayed many attributes such as color, price, etc. on the sidebar, on all the category's pages but I want to display all categories, brands and color same as the price. ...
1
vote
0answers
64 views

My installation of Magento 2.2.5 has no “theme” table present in the database

I have a few issues with making my own custom theme, and against the documentation, I deleted my custom theme directly from the files. There is a good explanation of how to fix this issue here. Many ...
0
votes
3answers
1k views

How to install a free theme on Magento 2.2.5 on XAMPP local host

I have installed the latest version of Magento2.2.5 without sample data using XAMPP. Now I am trying to install a free third party theme from Venus themes. I have copied the app folder from the free ...
1
vote
2answers
1k views

Magento 2 theme override: changes not showing

I am new to Magento 2 and theming and I'm having trouble overriding a particular template. I am running in developer mode. I have successfully installed my theme and applied it globally in the admin, ...
0
votes
2answers
280 views

Magento2 custom theme with another custom theme as parent, overriding problems

In this project we had one frontend custom theme working, to do some customizations. That is working fine. Let's call that Theme1/custom (with Magento/blank as parent) Now we have created a new ...
8
votes
7answers
6k views

Magento2 How to move toolbar

Anyone have any idea about How to move toolbar before left and right sidebar in magento2 using XML? Currently it is showing in Right side-bar.
0
votes
1answer
696 views

Magento 2 Show special prices start and end dates

I have added a product with special price, Template is already showing special price with original price strike through over it I want to show special price start and end dates beneath product price, ...
0
votes
3answers
49 views

My design doesn't work right

Hey I am new to Magento and I am trying to see what I can do. I have watched a lot of videos that tell me "how to change theme?" But in my "store>general>design" I don't get the right ...
1
vote
1answer
504 views

Magento 2 - moving search box to Navigation area

I want to move search box to the right side of category lists on top navigation menu: I've added the following line in Magento_Theme/layout/default.xml which moved search box to the desired position (...
0
votes
1answer
44 views

magento 2.2.2 : After Adding new theme product image is not displaying on product page

I have added a new theme in Magento 2.2.2, everything works fine except product image. Product image display in listing page but not display in product view page when product have only one image when ...
0
votes
1answer
775 views

Overriding Base file template file

There is a file that is used asynchronously in the front end called listing.html at the following path. vendor/magento/module-catalog/view/base/web/template/product/list/listing.html It is used by ...
0
votes
2answers
89 views

How to override css for overrided template

I override the module_catalog from template and put it in following directory app/design/frontend/gog/gogparent/Magento_Catalog/template (gogparent is my custom theme)that inherit to blank theme. It ...
3
votes
3answers
9k views

Magento 2 - How to move the product price block before addtocart button?

I am using custom theme and trying to move the "product.info.price" block before the addtocart button. I have tried, direct into addtocart.phtml file but not working. <?php echo $this->...
1
vote
1answer
58 views

Inserting block with referenceContainer reorders existing elements

I tried to insert an additional button on the wishlist page, but when I do that for some reason the order of all elements in a certain container gets reversed (that includes <script> elements!). ...
2
votes
1answer
1k views

How to add layered navigation in Magento 2 on Top After Menu

I tried to move layered navigation from left-side to top of the products.But Nothing displays When I changed the page layout from 2 column layout to 1 column layout then it shows only product list.
0
votes
4answers
3k views

Override list.phtml Magento 2.2.2

I have a custom list.phtml file in app\design\frontend\BSS\ContactUs\Magento_Catalog\templates\product\list.phtml And I want to override it on \vendor\magento\module-catalog\view\frontend\...
1
vote
2answers
2k views

Xml Element reference is not allowed here

I am new to Magento & I am using Magento version 2.1.7 in my Windows 8.1 system with Xampp while creating a new module I am getting an error in my XML file located in the app/code/vendor/module/...