We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [custom-theme]

Denotes questions related to Custom theme for Magento

Filter by
Sorted by
Tagged with
7
votes
2answers
936 views

Magento2 : How to Create custom theme in PWA Studio

Anyone have any idea about how to Create custom theme in PWA Studio Magento2 ?
4
votes
1answer
109 views

Editing custom module installed in VENDOR folder through a custom theme

I have a custom theme setup in Magento 2.2.5 where I am able to modify module files. I know that to modify something installed in app/code i do this; app/code/WeltPixel/ProductPage/view/frontend/...
3
votes
3answers
6k views

Custom theme - styles-m.css failed to open stream: No such file or directory

When setting up a new custom theme that has Magento/blank as a parent, we were able to deploy static assets locally but deploying to our staging site failed with an error. [Magento\Framework\...
3
votes
2answers
5k views

Magento 2 Checkout post code (zip code) is not a required filed

I want to make the postcode filed a required filed in the checkout process. I am sure that by default, this IS required but for some reason, it isn't in my store. I know there is entry in vendor/...
3
votes
1answer
39 views

How would I link module-page-cache into my theme? [closed]

what would be correct spelling for the module? Magento_Page-Cache , Magento_Page-cache , Magento_Page_Cache ?
3
votes
1answer
55 views

Removal of component in an XML listing from custom theme

I wish to remove a part from an XML page without editing the core file. <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
3
votes
2answers
48 views

Removing CSS code from a theme using a custom theme

Im not sure this is possible but I wanted to ask. I have a theme installed and it adds alot of CSS to the search input which breaks a custom module that also works with the search input. I cant just ...
3
votes
3answers
582 views

How to remove container from homepage only

I added div(container) in every page except homepage like this <main> <div class="myclass"> all content here </div> </main> I tried ...
3
votes
1answer
3k 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/...
2
votes
2answers
2k 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:...
2
votes
1answer
507 views

Magento 2: changes to default.xml in custom theme aren't loaded

My custom theme is not loading any data from default.xml. I confirmed this by checking the mage file in var/cache directory. Can anyone please help me by explaining the cases in which default.xml ...
2
votes
2answers
143 views

Custom Theme registration.php error in Magento 2

I'm using magento 2.2.5 and try to create customer theme, I added the registration.php inside app/design/frontend/Test/mine/ <?php \Magento\Framework\Component\ComponentRegistrar::register(    ...
2
votes
1answer
74 views

Site stopped working after adding custom theme

I created custom theme ( having only theme.xml,regisration.php file and medial/preview.jpg ). Logged in to admin panel and went to Conetnt->Design->Configurations so i could change the theme to my ...
2
votes
3answers
420 views

Blocks not displayed (only in luma theme)

sorry, I am a bloody beginner, so this question might be obvious to someone else. However, I cannot figure them out. I have a blank Magento (2.2.6) installation and I want to customize it (couple ...
2
votes
3answers
3k views

How to Set Banner in homepage above the 2-column with left bar?

I need to place banner in magento homepage. My homepage config: I set my homepage as 2-column with leftbar in CMS -> Pages. I need to set the banner in above 2-column with leftbar layout. ...
2
votes
0answers
12 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 ...
2
votes
1answer
83 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
2
votes
1answer
161 views

Override empty.xml in a custom theme

I'm creating a new theme for a Magento 2.2.6 community edition and I need to wrap all the content inside a CSS class. To do so I had to change <main id="maincontent" class="page-main"> to &...
2
votes
0answers
349 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 ...
1
vote
2answers
108 views

Magento 2.2.x : Custom Theme

I'm pretty fresh to Magento and been playing around with Magento 2.2.6 on a MAMP setup. Can anyone recommend any trustworthy resources for building a theme from the ground up? I am also interested ...
1
vote
3answers
2k 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
1answer
557 views

How to override Registration success message magento 2?

I am trying to override CreatePost.php in local but its not working properly. Below i am pasting the code please check once. I am trying to override the code in getSuccessMessage function C:\...
1
vote
1answer
458 views

How to override html for a module within custom theme?

What is the correct way to customize Braintree payment options - add image for payments card ? How to override module-braintree HTML within my custom theme? I tried to copy form.html from vendor/...
1
vote
2answers
377 views

Override vendor/magento/module-customer PHTML file

Magento 2.2. I have a theme: /app/design/frontend/Companyname/Newtheme/ I would like to override this PHTML file: /vendor/magento/module-customer/view/frontend/templates/account/authentication-...
1
vote
1answer
87 views

proper way to use .less files in custom theme?

I've followed a number of guides to properly setting up .less files in a custom magento theme and nothing seems to be working. I've read these threads on here: how to automatic update file `.less` ...
1
vote
1answer
147 views

Magento 2.2.5 - Widgets and Blocks are not visible on home page

I have created a custom theme with a parent theme (template monster). Now, the home page of my store no longer has the widgets and blocks that were present in the parent theme. The home page appears ...
1
vote
3answers
298 views

custom theme implement magento 2.2.6 issue

How to implement custom header, footer HTML design in our custom theme in Magento 2.2.6 version? Our theme structure: app/design/frontend/Cloudways/m2-theme/Magento_Theme
1
vote
1answer
690 views

Magento 2.2.5: Warning: Cannot modify header information - headers already sent by [custom_theme registration.php]

I'm developing a custom theme and running into errors. The theme has been tested and working on various servers but, for some reason, since uploading to siteground I get the following error (file ...
1
vote
1answer
41 views

It can't load css js file when I change theme in magento2

There are my theme's file struct
1
vote
1answer
95 views

Align Content in Order View Magento2

I added content using this Instruction It's Working fine! Content is coming! But i need my custom Content at last! I don't want my custom content in middle of something! How can i align that?? My ...
1
vote
2answers
224 views

Magento 2.2.2 Custom theme Xml update external script with query string & or &amp;

Adding external link in custom theme in any xml e.g: contact_index_index.xml doe not parse properly if it has & or & <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&...
1
vote
2answers
473 views

How to add footer link in magento 2

I have created block title Footer Links Block and block identifier footer_links_block and added bellow code into block. <div class="row"> <div class="col-sm-9 pad_right"> <div class="...
1
vote
0answers
63 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\...
1
vote
2answers
57 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\...
1
vote
0answers
47 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/...
1
vote
0answers
34 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/...
1
vote
0answers
39 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
1
vote
0answers
9 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. ...
1
vote
0answers
19 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 ...
1
vote
1answer
243 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
1answer
65 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 ...
1
vote
1answer
52 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 ...
1
vote
0answers
54 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....
1
vote
1answer
29 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 ...
1
vote
0answers
12 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 ...
1
vote
0answers
111 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 ...
1
vote
2answers
95 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 ...
1
vote
0answers
59 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 ...
1
vote
0answers
57 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 ...
1
vote
0answers
366 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 ...