Questions tagged [custom-theme]

Denotes questions related to Custom theme for Magento

92 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
2 answers
6k views

Magento 2.2.2 - Display Customer Account header dropdown and remove Sign Out link post login

After successful login, Luma theme shows customer account details in dropdown on header as seen in below image I need to replicate the same in our custom theme which has Blank as its parent. Vendor/...
Slimshadddyyy's user avatar
2 votes
0 answers
22 views

Used technology for xml-files in app/design folder

I try to reach a better understanding of my Magento2 installation. I use a theme which place xml-files in app\design\frontend[,,]. I try to find out, how the xml file is used? In which way or by what ...
Mario's user avatar
  • 405
2 votes
0 answers
20 views

Product Image Gallery Not Displaying When Using Custom Theme

I have created a child theme from Luma and when I enable it the product image gallery does not appear. When I re-enable the Luma theme the image gallery works fine. What am I missing? NOTE: I'm using ...
user77062's user avatar
2 votes
1 answer
122 views

Something went wrong while saving this configuration: Area is already set magento 2.3

I am facing this error in version magento 2.3 while saving header logo. Actually this issue is resolved as per gihub but even it is coming.link
Hitesh Balpande's user avatar
2 votes
0 answers
1k views

How to configure InfiniteScroll with my (Porto) theme?

Magento 1.9.1 Porto theme I installed the InfiniteScroll extension by Strategery as suggested in my post here: How to load less products on the mobile/tablet front page? On the Github page of the ...
Allysin's user avatar
  • 128
2 votes
1 answer
7k views

Magento 2: Uncaught Error: Script error for: smartmenus

I am trying to implement the navigation menu with Bootstrap Smartmenus but the theme does not pick up the javaScript. Can somebody help me out? Vendor/Name/requirejs-config.js var config = { map: {...
Anish Karim's user avatar
2 votes
0 answers
527 views

Magento1.9 : How to implement pwa manifest and serviceworker in theme head.pttml

I have created a custom magento theme, not integrated any magento function yet, only created phtml files with static data now. I'm thinking to create PWA for this to get data via API/ajax (when ...
Vinaya Maheshwari's user avatar
1 vote
2 answers
29 views

How to locate HTML files associated with the mobile view of a theme?

I installed a Magento theme on my server and wanted to make some changes to the menu within the theme.I am able to view the HTML codes related to the desktop view menu in the block section of the ...
Hirun's user avatar
  • 13
1 vote
0 answers
75 views

override admin panel layout and phtml in magento2.4.5

I want to override adminhtml layout and phtml file of vendor directory to my custom theme so how can I do that, if anyone have idea then please share. "Because sharing is caring" Thanks in ...
Deep Shah's user avatar
  • 525
1 vote
1 answer
455 views

How to override carousel.phtml file in Magento 2 custom theme

I want to override below Page builder Carousel phtml file in my custom theme. Please provide magento standard way for this. vendor/magento/module-page-builder/view/frontend/templates/catalog/product/...
Jitendra Patel's user avatar
1 vote
1 answer
1k views

Magento 2 : How to Import Custom Module's Less file in Custom Theme

I am creating custom theme without parent. Now, I want to add custom less file inside Magento_Theme folder. File path : app/design/frontend/VendorName/ThemeName/Magento_Theme/web/css/source/_mycustom....
Ankita Patel's user avatar
1 vote
1 answer
181 views

M2 - Best practice for adding custom less file in Custom Theme for CMS Static Block

I just created custom theme, i have followed a number of guides to properly setting up .less files in a custom theme and nothing seems to be working. Where should i place less file for cms custom ...
zus's user avatar
  • 145
1 vote
0 answers
23 views

Adding values dynaamically in less files

I have created a theme and had configuration for the colours and background configuration in backend. I want those values to be replaced in the less file.Can it be achieved.If so please guide me to ...
Tanmay's user avatar
  • 780
1 vote
0 answers
79 views

Calling minicart in phtml not showing dropdown on click

I'm calling minicart in my phtml like below <?php echo $this->getLayout() ->createBlock('Magento\Checkout\Block\Cart\Sidebar') ->setTemplate('Magento_Checkout::cart/...
Ramesh KR's user avatar
  • 836
1 vote
0 answers
87 views

How to setup Muti theme for multi website in Magento 2.3.5

I am going to create multi websites and stores in magento and i want to setup different theme for each store. so anyone can have idea about it please share with me. Thank you in Advance.
Deep Shah's user avatar
  • 525
1 vote
0 answers
32 views

Custom Magento theme not extending from custom parent theme

So I'm working on creating a custom parent theme I can reuse for a bunch of different projects and then a child theme for custom styles for a client to extend from that theme. I had the custom child ...
Gracie's user avatar
  • 11
1 vote
0 answers
744 views

Magento 2 Parent's theme styles are not loading in the child theme

I have create a child theme that extends from magento-luma theme by following the steps below: app/design/frontend/Company/parent/registration.php <?php \Magento\Framework\Component\...
Mudasser Hayat's user avatar
1 vote
2 answers
375 views

magento 2.3.1 - Invalid template file

I been working on new webpage recently and got unfortunate error, when I click on a product in catalog page i get this error: 1 exception(s): Exception #0 (Magento\Framework\Exception\...
gavination's user avatar
1 vote
0 answers
268 views

Adding Owl Carousel to Magento2.2.5 Blank Theme

I am working on customizing the Magento 2 Blank theme and trying to add owl carousel however am getting this error Uncaught TypeError: Cannot read property 'fn' of undefined at :8888/pub/static/...
Jayreis's user avatar
  • 685
1 vote
0 answers
188 views

How to call custom block file in custom theme in magento 2

How to call custom block file in custom theme in magento 2 app/code/Cm/Mod/view/frontend/layout/catalog_product_view.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/...
Divya Sekar's user avatar
  • 1,441
1 vote
0 answers
127 views

In my custom theme swatch option not display in category page in magento 2

In my custom theme swatch option not display in category page in magento 2 configuration option is not display in the category page refer image : https://prnt.sc/nvegd1
Divya Sekar's user avatar
  • 1,441
1 vote
0 answers
22 views

IE issues from 8 to 11 on Magento

My website www.giftsonclick.com is not working on IE. The megamenu is not clickable. Whereas other magento websites are working. We have followed a custom theme but not able to debug the issue. ...
Richa Kapoor Taleja's user avatar
1 vote
0 answers
25 views

Frequent Theme Switch Due to Cache

I am using Magento 2.2.7 on a vps. I am using SM Market Theme. Due to Language problem of Theme support team, they are unable to understand the issue, thus I am not getting the solution. In the ...
Niraj Nagar's user avatar
1 vote
1 answer
2k views

Category (product Listing) page css update with Magento 2 custom theme

I am building a custom theme, Luma is the parent theme. I am trying to customize the product listing page (category page) like this . Can you please help me which less file that I need to update also ...
GeorgeM's user avatar
  • 109
1 vote
1 answer
113 views

Magento 2.3 - extending layouts in custom theme

In Magento 2.* we could extend core layouts using custom theme, for instance, (assuming our custom theme is named Custom/our_theme) if we want to remove header & footer in customer login page we ...
Raul Sanchez's user avatar
  • 3,174
1 vote
1 answer
136 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 ...
loganfarr's user avatar
  • 151
1 vote
0 answers
73 views

Magento 2 custom theme CSS and other resources not loading

I have setup Magento 2 in local system in WAMP stack. We have two websites. One is our Main website and other is different domain webiste. First website working fine with Luma theme and url is abc....
Hiren Shah's user avatar
1 vote
1 answer
63 views

Easiest way to include _custom.less in adminhtml compile

We are in the process of building our own custom theme. We are being careful to use distinct names for all of our custom style class names. But I noticed that when we create custom styles, they don't ...
Scott's user avatar
  • 263
1 vote
2 answers
2k views

The difference between luma theme and blank

I often get asked which theme is the best to set as the parent, Blank or Luma, when it comes to creating a custom theme in Magento 2?
zuber bandi's user avatar
  • 1,002
1 vote
0 answers
500 views

Term and Conditions Not working error "Please agree to all the terms and conditions before placing the order" before placing order magento 2.2.2

Term and Conditions Not working error message "Please agree to all the terms and conditions before placing the order" before placing order magento 2.2.2 custom theme.If anyone have faced this type ...
Hitesh Balpande's user avatar
1 vote
2 answers
198 views

How can i override the luma theme category page stylings in new custom theme?

We have to override the luma theme stylings of the category page,we have applied pearl theme on top of it.And we are extending same for custom child theme. How can i override the default luma css for ...
sahana's user avatar
  • 329
1 vote
0 answers
95 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 ...
JHam's user avatar
  • 11
1 vote
0 answers
113 views

Error in css and js in child theme in Magento 1

I'm having a problem loading style sheets and scripts. I created a child theme, and I did not add any css or js to it. Even so, the magento looks for them in the son theme instead of the father. I'll ...
Eduilson Rodrigues da Silva's user avatar
1 vote
0 answers
929 views

mini-cart not working on homepage but it's work on other pages

Homepage Vs other pages My theme structure : I didn't use requirejs-config.js in my theme Problems: My minicart doesnt't show count item on home page. it show on all other pages. Here's my ...
lalit mohan's user avatar
  • 1,063
1 vote
1 answer
668 views

Magento 2: Overriding email CSS in custom theme

I have created my own custom theme. When customer places an order, order email does not load css correctly. I directly changed in core css files of luma and blank theme but it seems like fall back is ...
umair ayub's user avatar
  • 1,053
1 vote
1 answer
941 views

Is php version 7.0.23 okay for Magento 2.1.7?

My PHP version 7.0.23, and my Magento version 2.1.7, actually i need to install theme only. after run setup wizard i am getting an error like, May i know what is the error and how can i solve it?
zus's user avatar
  • 145
1 vote
1 answer
3k views

Magento 2 How to correctly change style in less

I creat my theme, same as luma, parent Blank. I try change style for search (add background-color and change opticaly. I see in less file: app\design\frontend\Vendor\default\Magento_CatalogSearch\web\...
Sylon's user avatar
  • 658
0 votes
0 answers
12 views

Pearl theme logo coming up when I Google my business

My business is using Magento 2.4.5 with Weltpixel Pearl Theme. When I Google the name of my business, the Pearl theme logo comes up instead of our actual logo. Our logo is set as another image under ...
Firestarter's user avatar
0 votes
1 answer
19 views

How to enable a module for custom theme and keep it disable for other theme or luma theme in magento 2?

I have a module in the vendor folder installed via Composer. I want to keep it enabled for my custom theme. But when a user selects the Luma theme, this module should be disabled. My module depends on ...
Mehreen's user avatar
  • 11
0 votes
0 answers
11 views

Magento 2.3.5p1 custom theme Products attributes not reflecting on Frontend?

I have created product attribute "Resources" & enabled "Visible on Catalog Pages on Storefront". Still I am not able to get the output on the frontend. There is already two ...
Usman Ahmed's user avatar
0 votes
0 answers
44 views

Uncaught TypeError: $.widget is not a function-> throww this error in magento (Codazon) the

Uncaught TypeError: $.widget is not a function****strong texthttps://tinyurl.com/28knf23b
pawan's user avatar
  • 1
0 votes
2 answers
223 views

URL key is already in use by another blog item

Anyone can help me to fix this problem ?
Hirun's user avatar
  • 13
0 votes
1 answer
326 views

Warning: Private methods cannot be final as they are never overridden by other classes during compilation

I successfully installed the Martfury-Marketplace Magento theme. Subsequently, I executed the command 'php bin/magento setup:di:compile', however, an error occurred as follows: Therefore, I fixed the ...
Hirun's user avatar
  • 13
0 votes
1 answer
392 views

Exception #0: Warning: include(/var/www/html/vendor/magento/module-catalog/view/frontend/templates/product/view/attribute.phtml)

I am getting this error when I try to open to product catalog page in Magento 2.4.3 Custom theme? Exception #0 (Exception): Warning: include(/var/www/html/vendor/magento/module-catalog/view/frontend/...
Premkumar Suresh's user avatar
0 votes
1 answer
32 views

Shipping calculation on the product page

We have a shipping calculation module its name is "FRETE RáPIDO" the documentation says it appears on the product page. For some reason, my theme doesn't work. What code do I put in my theme ...
Cristiano Chagas's user avatar
0 votes
0 answers
192 views

Magento 2.4 - Error encountered after installing new theme error: Requested path '' is wrong

I installed a third party theme and for some reason it broke my Magento server, Now I am unable to see the frontend and backend. I cannot access the admin panel to switch it back to the default luma ...
Tim's user avatar
  • 1
0 votes
0 answers
28 views

Need to modify the product detail page for adding a button beside the add to cart button

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** @var $block \Magento\Catalog\Block\Product\View */ ?> <?php $_product = $block->...
kks's user avatar
  • 19
0 votes
1 answer
383 views

Need to add the button next to the add to cart button

Changed the code in add to cart phtml file but it is not showing changes in the file. <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ **...
kks's user avatar
  • 19
0 votes
0 answers
28 views

Magento 2 : Need to put coupon form and proceed to check-out button outside cart-summary

Currently I have below layout in my cart page. I need to put coupon form and proceed to checkout button outside cart-summary. Please check the second image for what I need. If anyone having knowledge ...
Shubham Sahu's user avatar
0 votes
1 answer
290 views

I want to make full width of all cms page. now it is max-width of 1280px. i want to make it to 1720px. how can i change

I want to change max-width, but it is not overriding in custom-theme. how can i change Here is the css style . @media (min-width: 768px), print .navigation, .breadcrumbs, .page-header .header.panel, ....
vinaysirige's user avatar