Questions tagged [custom-theme]
Denotes questions related to Custom theme for Magento
185
questions
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/...
0
votes
1
answer
1k
views
How to reload checkout page after applying the coupon code or removing the coupon code magento 2?
I am facing an issue related page refresh on checkout page and it is
solving after refreshing page when discount applied or removed.
0
votes
1
answer
1k
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, ...
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 ...
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\...
0
votes
4
answers
1k
views
How add text in custom theme header magento 2
<referenceContainer name="header.wrapper">
<block class="Magento\Theme\Block\Html\Header" name="header.links" after="logo">
<arguments>
<...
0
votes
1
answer
5k
views
Magento2 How to pass argument parameters with multiple class
How to pass argument Parameter configuration inheritance in using theme module inside di.xml
here one thing in our theme inside header file inside define code below
<?php $objectManager = \...
0
votes
2
answers
62
views
Can we add extra container to page header in Magento 2?
I need to add a extra container to page header.
https://prnt.sc/dq9LDPcioxvJ
please check attached screenshot.
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: {...
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 ...
4
votes
5
answers
16k
views
Magento 2.3: main.ERROR: Unable to resolve the source file issue
I am getting below error when I ran php bin/magento setup:static-content:deploy -f cmd.
frontend/Alothemes/digitalstore3/en_US 2494/2645 ==========================>- 94% 5 secs
...
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?
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 ...
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 ...
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....
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 ...
1
vote
1
answer
27
views
Best way to override custom theme
I bought a custom theme for my Magento store and want to customize it slightly.
Customizations mean that I will probably update layouts, templates, and other files that are available under app/design/...
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
0
votes
1
answer
40
views
Best practice to modify or customize third party theme in magento 2?
I want to remove the block from the currently applied third-party theme.
What is the standard way to achieve this in Magento 2??
Please provide the guidelines considering the future Magento upgrade ...
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 ...
0
votes
2
answers
223
views
URL key is already in use by another blog item
Anyone can help me to fix this problem ?
0
votes
1
answer
353
views
Exception #0 (Exception): Warning: Undefined array key "content_css"
I successfully installed the Martfury Marketplace Magento Theme along with the Magefan Blog Module. My intention was to edit the homepage after activating the theme. However, upon pressing the edit ...
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 ...
0
votes
2
answers
1k
views
Owl Carousel for custom them for Magento 2.2.4
I am creating a custom theme and I need to add banner slider in the home page. I try to use owl carousel and it’s not working. Can you please help
Her is how I try to add slider to home page
1 ...
1
vote
3
answers
564
views
Magento 2.4.4: What is the theme that Magento admin uses?
I recently made a change to my setup:static-content:deploy command as php -d memory_limit=4G bin/magento setup:static-content:deploy -f --theme Perfectmakeupmirrors/argento-luxury-custom to narrow ...
0
votes
1
answer
118
views
how to completely remove a theme?
in magento 2.2 with php 7.1 i had a theme (infortis).
now i have to update to magento 2.4 and php 8.1 the theme is not compatible, it must be removed completely.
to install the theme you had to copy ...
1
vote
1
answer
86
views
Change cart icon by custom-theme's _extend.less
I have built a custom-theme that extended from luma. However, I can't change cart icon by _extends.less of the custom-theme. May I know is somewhere else to change cart icon?
app/design/frontend///web/...
0
votes
1
answer
263
views
Custom theme not working after upgrading 2.4.2 to 2.4.3-p3
After updating to version 2.4.3-p3 our custom theme isn't working anymore.
The theme has the default Luma theme as parent.
After generating static content it does generate the custom theme files (can ...
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.
*/
**...
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 ...
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/...
0
votes
2
answers
701
views
How to use the custom fonts in M2 using LESS
I am new to magento2, so I don't understand the less flow in M2, how it is working, and how to use the custom fonts in my theme which is present in the /fonts dir when I import the fonts using @font-...
0
votes
1
answer
795
views
How to add .less css files in custom theme magento 2
I want to add the custom.less file in my custom theme which i want to develop from scratch.
so, anyone have an idea then please share with me.
0
votes
1
answer
965
views
Unable to get Grunt less task working on Custom Magento theme
Good morning,
I'm pretty new to Magento 2 and I'm currently in the process of trying to get my first custom M2 theme up and running.
I have managed to create my new theme but running into trouble ...
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/...
2
votes
2
answers
4k
views
Load Custom CSS After style-l.css For Home Page
I am using below code to include my custom CSS file in home page only:
File: app/design/frontend/[Package]/[Theme]/Magento_Theme/layout/cms_index_index.xml
<?xml version="1.0"?>
<page xmlns:...
1
vote
4
answers
8k
views
how to add quantity increment and decreament (+ and - button) in minicart magento 2?
actually i am trying to add quantity increment and decreament (+ and
- button) in minicart magento 2.3.
If anyone have any idea please guide me.
1
vote
2
answers
12k
views
Magento 2.3 - Required parameter 'theme_dir' was not passed after applying custom 'Blank' theme
I'm having an issue when applying a custom 'Blank' child theme. I'm running a fresh install of 2.3 on LAMP. I followed the Magento docs with respect to theme.xml and registration.php etc, but after I ...
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 ...
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 ...
0
votes
2
answers
384
views
Magento2 Adding styles before style-l.css
I got the answer in this link
it's working only in the home page I needed it to work in each and every page please help me with this
1
vote
2
answers
194
views
What does "catalog_category_view_type_default_without_children.xml" do exactly?
What does the layout file "catalog_category_view_type_default_without_children.xml" do exactly?
From the name of the file it sounds like it's purpose is to allow you to customize the layout of ...
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->...
2
votes
2
answers
3k
views
Exception in Magento log: the element can't have a child
I found the following errors in the exception.log and debug.log files in /var/log folder:
[2019-12-17 16:23:05] main.CRITICAL: The element "product.info.options" can't have a child because "product....
0
votes
1
answer
26
views
Changing the positon of sign in and create account from header to footer
I have created a custom theme which has parent theme as luma. Created a folder default.xml inside the theme_name_folder/layout_folder. Trying the change the code but its not reflecting in the theme. ...
0
votes
2
answers
35
views
How to change the front look of the website as it is showing without css?
I made the custom theme with the parent theme luma and now applied it as well but site lost its css.
0
votes
1
answer
529
views
Magento theme Solwin-freego
I just upgrade from magento default theme to Solwin-freego theme, everything seems to be ok except that my category section is not displayed correctly since the update to the new theme.
0
votes
2
answers
48
views
Specific deploy magento view files
I'm trying run two step below
step1:
rm -rf pub/static/* ./var/view_preprocessed/* ./var/page_cache/* ./var/cache/* ./var/generation/*
step2:
php bin/magento setup:static-content:deploy -f --theme ...
0
votes
2
answers
37
views
Problem displaying custom favicon
I am encountering an issue when theming on Magento CLI 2.3.5-p1.
I want to customize the favicon.
During my first attempt I just drop a new icon on web folder and named it favicon.ico.
It works but ...
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 ...