Skip to main content

Questions tagged [custom-theme]

Denotes questions related to Custom theme for Magento

89 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
3 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
148 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
  • 567
2 votes
0 answers
24 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
  • 260
2 votes
0 answers
535 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
2 votes
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
  • 678
1 vote
1 answer
64 views

Magento not producing style-l.css,etc for extended theme having luma as parent?

Unexpected behavior from magento after trying to make mycustomtheme with parent luma. When I put _extend.less in incorrect location: app/design/frontend/mevendor/mycustomtheme/css/source (missing web ...
raza19's user avatar
  • 23
1 vote
2 answers
47 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
  • 23
1 vote
3 answers
482 views

URL key is already in use by another blog item

Anyone can help me to fix this problem ?
Hirun's user avatar
  • 23
1 vote
1 answer
725 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
2k 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
188 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
  • 175
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
  • 790
1 vote
0 answers
86 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
  • 876
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
  • 567
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
848 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
385 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
271 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
  • 725
1 vote
0 answers
198 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,485
1 vote
0 answers
142 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,485
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
26 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
118 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,145
1 vote
1 answer
145 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
70 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
  • 273
1 vote
0 answers
593 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
215 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
107 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
116 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
947 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,090
1 vote
1 answer
699 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,073
1 vote
1 answer
948 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
  • 175
0 votes
0 answers
59 views

Grunt task for the tailwind in magento 2 frontend

We are working on the custom theme with the tailwindCSS. Normal Magento flow is taking a long time to reflect the changes on the browser. My question is there any configuration or way to use Grunt to ...
Naveen Raj Kumar's user avatar
0 votes
1 answer
30 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
1 answer
643 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
  • 23
0 votes
1 answer
557 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
38 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
266 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
523 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
30 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
330 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
0 votes
2 answers
625 views

M2 - How to include my custom font in custom theme?

How to apply adobe laca font, https://fonts.adobe.com/fonts/laca How to apply? I am created custom theme inherit from blank theme. Custom font declaration : app\design\frontend\Myrwd\mytheme\web\css\...
zus's user avatar
  • 175
0 votes
1 answer
164 views

Can't change logo size in Luma

I made a theme that inherits from Luma and am trying to increase the logo size, but it's not working. I already checked Luma sub theme - can't change logo size and it did not apply to me. I've ...
rcmenoni's user avatar