Questions tagged [custom-theme]
Denotes questions related to Custom theme for Magento
185
questions
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.
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 ...
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
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 ...
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
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 ...
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
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/...
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 ...
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
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->...
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.
*/
**...
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
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 ...
1
vote
1
answer
3k
views
csp_whitelist.xml for themes
Content security policies for custom modules can be added by setting up a csp_whitelist.xml file, i.e. app/code/Vendorname/Modulename/etc/cps_whitelist.xml, this is more or less excessively described ...
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, ....
0
votes
2
answers
494
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\...
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 ...
1
vote
1
answer
146
views
M2 - How to include custom theme directory less file path into my CMS block?
I have created custom theme which is inherit from blank theme,
I have created more than one CMS block and include into CMS page for home page design.
One of my CMS block named service banner
In the ...
1
vote
4
answers
558
views
How to move custom link right after logo in custom theme?
I have created custom link under
app\design\frontend\Myrwd\mytheme\Magento_Theme\layout\default.xml
<!-- location added in header -->
<referenceBlock name="header.links">
<...
0
votes
1
answer
153
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 ...
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 ...
0
votes
1
answer
91
views
Using luma LayeredNavigation in custom theme based on blank theme
I want to copy the style and functionality of luma layered navigation to my custom theme - parent is blank theme.
If I copy the Magento_LayeredNavigation of luma theme to my custom theme <vendor>...
0
votes
1
answer
377
views
How do I override a value from a magento 2 lib LESS mixin?
I have created my own theme using Blank Theme as it's base. In my theme, I have a file in web/css/source/_navigation.less As I understand, this file calls a mixin. .lib-main-navigation();which pulls ...
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/...
0
votes
1
answer
67
views
I am stuck with this error while creating custom select attribute in product in magento 2
I am stuck with the following error while creating custom dropdown in magento 2.3.5.
Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Catalog\Model\ResourceModel\Product\Collection::...
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.
0
votes
1
answer
157
views
how to install themeforest-T5ELugiM-claue-clean-minimal-magento-2-theme in magneto 2.3.5
It shows Unable to find a physical ancestor for a theme 'MGS Claue'.
0
votes
2
answers
119
views
Add code to <head> using a custom module & theme
I'm working on a custom theme for Magento. I'm trying to create a module for the theme that adds some code to the <head> but i'm finding it difficult to get it working.
I've created my module ...
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
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 ...
2
votes
3
answers
2k
views
How to add default head block in default.xml
I want to add default head block in default.xml file. so if anyone have idea about it then please send me the solution.
0
votes
0
answers
34
views
Magento 2.3 - Theme installation error
After move theme folder (app, pub, lib) to root folder then run php bin/magento setup:upgrade getting the following error,
php bin/magento setup:upgrade
Installing data... SQLSTATE[23000]: ...
0
votes
1
answer
273
views
Creating a custom theme for Magento2 from the Luma theme as parent
Referencing this article below:
https://www.codextblog.com/magento-2/create-a-custom-child-theme-from-luma-theme/
Having followed all of the steps, our theme is created and applied, but none of the ...