Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [custom-theme]

Denotes questions related to Custom theme for Magento

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Magento 2 mixin error

I didn't use mixin in my custom theme or anything. But I get the below error. TypeError: mixin is not a function My require-config.js is below. var config = { paths: { 'owl.carousel': '...
0
votes
2answers
2k 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
1answer
202 views

adding custom css file priority in magento2

I have added custom CSS file in custom theme with below code in [vendor] / [theme] / Magento_Theme / layout / default_head_blocks.xml <head> <css src="css/custom.css" /> &...
0
votes
1answer
51 views

Changing favicon for admin side theme only - Magento 2.3

I've made the custom adminhtml theme and changed the login logo and the default top left logo on dashboard, however I'm unable to change the admin favicon. In the default.xml that I'm using to ...
1
vote
1answer
1k 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
0answers
18 views

Custom theme not working in Magento 2.3. As well as the default.xml

It seems that my custom theme is not working as well as my default.xml. For now, I am trying to remove the copyright part for Luma but when I override the existing theme, my default.xml is not working....
0
votes
1answer
2k 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: {...
0
votes
1answer
76 views

How to build custom theme with page and static blocks in Magento2?

I am trying to create custom theme with inbuilt Cms pages and Blocks? For example once the theme files moved and installed can able to see all the blocks and pages are created in magento. I followed ...
0
votes
1answer
74 views

Magento2: Use Blank-Theme-Icons/Blank-Theme-Icons.woff2 in my custom theme

In PageSpeed Insights: Ensure text remains visible during Webfont load Leverage the font-display CSS feature to ensure text is user-visible while web fonts are loading. Blank-Theme-Icons/Blank-Theme-...
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/...
0
votes
0answers
23 views

Add theme to new store in Magento 1.x

I have 2 shop and 2 same themes for both the Stores 1: abc.com with theme Custom/Theme1 2: xyz.com with theme Custom/Theme2 abc.com load fine, but xyz.com does not load template and layout, t ...
0
votes
1answer
20 views

Magento 2 theme updated with basic functionality

At the moment we have always used Ultimo, but it has been discouraged because it has not been updated for almost a year, and it customizes many aspects of Magento that we don't even use. We, ...
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/...
0
votes
1answer
28 views

Magento 1.9: I need to create custom theme in enterprise edition

I need to create custom theme in enterprise edition. Anyone have solution for this? Thanks
0
votes
1answer
1k views

Magento 2 Custom Theme Templates

I've been programming Magento 1 for many years but I'm just getting into Magento 2 and I am a little confused about the theme folder structure. From what I have found there's really no concept of ...
1
vote
0answers
66 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\...
0
votes
0answers
43 views

Magento2 : purchased Theme inside testimonial module using when add testimonial than getting error

I am using magento2 and purchased theme inside testimonial module enable after add testimonial than frontend side getting error Fatal error: Uncaught Error: Cannot instantiate abstract class ...
0
votes
0answers
20 views

Since upgrading from 2.1 to 2.3 my custom theme XML does not load

My theme was extending blank layout perfectly fine until a recent upgrade from 2.1 to 2.3 I've noticed the templates are still loading from the theme, but definitely not the layout xml files. I can't ...
0
votes
1answer
283 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
0answers
120 views

Undefined index: PK_MT_CMS_PAGE in vendor/magento/framework/EntityManager/EntityMetadata.php

I moved a Magento project from localhost to the server. its working fine in localhost but when I move it to the server and change the configuration (env.php and in the table) it's showing below error. ...
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\...
0
votes
1answer
35 views

Magento 2 custom CSS is not loading after set new custom theme set on customer login

I set magento 2 luma theme for entire site if customer not login after customer login need set ultimo theme i have installed ultimo theme i am able to set by using fallowing line $objectManager->...
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
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. ...
0
votes
2answers
18 views

Area configuration aggregation error after install Porto theme

i try install Porto theme to Magento 2.3.1, but i get some problem. I try sudo php -f bin/magento setup:di:compile sudo rm -rf pub/static/*/*; sudo rm -rf var/*/*; sudo php -f bin/magento setup:...
0
votes
1answer
39 views

Magento 2 Base Url path issue custom theme

I have a Magento 2.3.1 site installed in a subfolder and I have a problem with base URL. When I have a link like this < a href="#" > LINK < /a > Instead of this www.domainname.com/...
2
votes
1answer
162 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 &...
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 ...
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 ...
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\...
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 ...
0
votes
0answers
24 views

How to override the headers and footers of default theme using html and css?

I wanted to customize the headers and footers of the custom theme using html and css,I needed to change the structure of the headers. Is it possible, If so how ?
1
vote
1answer
250 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 ...
0
votes
0answers
24 views

magento 2 override style for custom theme

I am trying to override file .less. The file, in the parent theme, is at vendor/magento/theme-frontend-luma/Magento_Theme/web/css/source/_module.less So I copied and edited the file at: app/...
0
votes
0answers
21 views

How to add custom less file for particular page (product listing page)

I am building a custom theme in Magento and Luma theme is my parent theme. I am trying to customize the product listing page with my own style. Here is what I did I copied list.phtml from module ...
0
votes
1answer
1k views

Magento 2.2.2 - Adding Product to Wishlist doesn't work when user is not logged in

Using Custom Theme, when user is not logged in and try to add a product to wishlist, it is served up the login or create an account screen. Once the user logs in, the item user was trying to add to ...
0
votes
1answer
198 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 ...
0
votes
0answers
26 views

HTTP 500 error when trying to edit magento theme setting

I just installed Magento 2.3 with sample data on an Ubuntu 18 VM. I'm playing around with creating themes based on tutorials I found online. I created a sample theme, uploaded it, logged into admin, ...
3
votes
1answer
40 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 ?
0
votes
2answers
65 views

Magento 2.3 How to overrride paid theme template?

I am working in magento 2.3.0 with paid theme. I want to override paid theme templates without changing theme files. So that in future if theme updates my functionality still remains. How can I do ...
2
votes
1answer
510 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 ...
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 ...
7
votes
2answers
946 views

Magento2 : How to Create custom theme in PWA Studio

Anyone have any idea about how to Create custom theme in PWA Studio Magento2 ?
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
30 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
1answer
96 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` ...