Skip to content

theme

Auto Added by WPeMatico

How to remove parent theme handle from child theme programmatically?

Parent theme (theme design directory path) app/design/frontend/Jigar/basetheme/Magento_Customer/layout/customer_account_create.xml Here is the sample code : <?xml version=”1.0″?> <!– /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ –> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <update handle=”customheader” /> <body>… Read More »How to remove parent theme handle from child theme programmatically?

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.less I tried to call this file inside app/design/frontend/VendorName/ThemeName/web/css/_sources.less file. But, it’s not working. I added this below line… Read More »Magento 2 : How to Import Custom Module’s Less file in Custom Theme

New extended theme from luma doesnt show style-l or style-m css

I have created the registration.php, theme.xml,composer.json in app/design/frontend/myvendorname/themename_theme/ and _extends.less in app/design/frontend/myvendorname/themename_theme/web/css/source. Ran the following commands rm -r /home/magento/pub/static/* /home/magento/var/view_preprocessed/* /home/magento/var/cache/* cp /root/.htaccess /home/magento/pub/static/ #re-copying htaccess above to static folder just in case it got lost magento cache:flush magento setup:static-content:deploy… Read More »New extended theme from luma doesnt show style-l or style-m css