Questions tagged [theme]

Questions about creating, modifying and configuring Magento themes

Filter by
Sorted by
Tagged with
0
votes
1answer
9 views

How can I add a block with an attribute value under the price in the category grid / list? [duplicate]

I have an attribute I want to display on the category page. I am able to get it to show up between the "Add To Cart" button and the wishlist icons, but I can't move it up to underneath the price. ...
1
vote
1answer
8 views

Less variables set in _theme.less are being override elsewhere

I'm attempting to change the button color in my magento theme. In my app/design/frontend/JK/PPC/web/css/source/_theme.less I have the following: /* * Buttons */ @button__color: @color-gray20; /* *...
0
votes
2answers
49 views

Should I use Blank or Luma as a parent theme? [closed]

I want to create a custom theme for Magento 2 and I am curious if it is a good idea to use Luma as a parent theme or not. I did some research and found out that Blank theme is supposed to be used ...
0
votes
0answers
21 views

Exception #0 (Exception): Notice: unserialize(): Error at offset 0 of 2 bytes in Magento 2.3.2

1 exception(s): Exception #0 (Exception): Notice: unserialize(): Error at offset 0 of 2 bytes in /var/www/html/app/design/frontend/Theme/huge1/Plazathemes_Quickview/templates/pt_quickview_container....
0
votes
2answers
32 views

403 Forbidden Error When I visit Admin after adding new Theme to Magento 2.2.3

I get this error when I visit http://domain/admin after I have added a new theme to magento 2.2.3. I already run php bin/magento setup:upgrade but the error is still there. The error in /var/log/...
1
vote
1answer
36 views

Admin Dashboard not working after adding Sirena theme (from envato marketplace)

I purchased Magento Theme from Envato Marketplace & added to my store as per there guidelines. Tried many different times and on different servers & at last when logging into the admin panel, ...
1
vote
1answer
25 views

Default.xml won't apply to page in Magento 2.3

I have looked at other answers, and there is no problem in my path or my xml file I believe, In my own theme I am extending the blank theme and the blank theme did not contain any layout/default.xml ...
1
vote
0answers
15 views

POP up (Sign IN & Create New Account ) Problem

we use theme claue we faced problem in POP up (Sign IN & Create New Account ) as per attached image Create New Account loading & Sign IN get error (could not authenticate. please try again ...
1
vote
1answer
10 views

How do I add images to custom theme

I need to add an extra, static image in the page header. Right after the logo. My child theme directory structure in [magento project root]/app/design/frontend/My_Vendor/My_Theme/ ├── ...
1
vote
1answer
18 views

Magento 2 - how to reference a template of my theme in a layout file?

I have this file app\design\frontend\company\mytheme\web\templates\header\foobar.phtml How can I reference it in a layout file e.g. in app\design\frontend\company\mytheme\Magento_Theme\layout\...
0
votes
0answers
30 views

Magento 2 Can't change theme after move to new server

I have moved my Magento 2.3.3 to a new server. Every seems work fine, But I can't change theme. Configure: CONTENT > Elements > Design > Configuration > Select Edit > Default Theme > Applied Theme > ...
1
vote
1answer
47 views

Magento 2.3.3 Incompatible argument type

Interception cache generation... 6/7 [========================>---] 85% 50 secs 351.0 MiBErrors during compilation: Vendor\Module\Model\ResourceModel\Brand\Collection Incompatible ...
1
vote
1answer
64 views

Magento 2 - Use Bootstrap 4 (Uncaught Error: Script error for: bootstrap)

I try to install bootstrap 4. Note: THEME_LOCATION => app\design\frontend\company\base First I downloaded the Compiled CSS and JS from here. I moved the file bootstrap.min.css to THEME_LOCATION\...
1
vote
0answers
35 views

Magento 2 : Empty html tag in theme

I am working in the home page on the theme and it generates empty strong tags How can I find and remove it Any helps? Thank in advance.
0
votes
0answers
19 views

Not able to set layout in magento 1.9

Not able to set layout in magento 1.9. When i am setting catlog category> themes>layout and check the checkbox and save.It not saves the layout.And what is the meaning of checked and unchecked in 1.9. ...
0
votes
0answers
8 views

How to create a local callback to a JS via CDN using RequiredJS?

I've some JS files included in my themes and modules, but sometimes these files are not loaded, becaused of adblock or CDN server down. I checked the RequireJS documentation and I saw that it's ...
3
votes
2answers
45 views

What is the difference of map vs path?

What is the difference between map vs path when building a theme / module? Which are the restrictions? var config = { map: { '*': { 'jqueryjs': 'India_Newtheme/js/jquery', '...
3
votes
2answers
67 views

Header Links showing twice under the Account Links in Mobile Menu Magento 2

I am getting Header Links twice under the Account Links in Mobile Menu. I have attched screenshot of that. You can see in the image there is twice header links under account tab. I'm using porto theme ...
0
votes
1answer
32 views

Magento 2.3 | Starting with Theming [duplicate]

Given Scenario: For learning and understanding the Magento 2 Theming Stuff better and get a closer look i woud like to create my own theme from scratch. I want to create a basic one, no backend ...
0
votes
0answers
13 views

Magento2 Pincode check before entering into website

I need to build a form with zipcode field. It needs to be ask customer before checking any products in website or pincode already saved in session that can be edit using "edit" link. If service to ...
0
votes
2answers
74 views

Magento 2.3.3 - How to solve Unable to load theme by specified key

Front End : Note : theme 327k is my magento 1.9 theme Back End : How to solve the theme error after migrate m1 to m2
0
votes
0answers
24 views

Magento 2 Layered navigation on CMS

I have the Porto theme with the Layered navigation from Mageplaza in the theme. I want to place the layered navigation in the left menu on some pages. I tried this already but does not work. Magento 2 ...
2
votes
2answers
45 views

Css can't read content in new area code for theme deploy

Here is my scenario. I have create new area for my theme (Not adminhtml , frontend). Used Developer mode and no symlinks config in admin I have create new module simple for define new area theme ...
0
votes
1answer
31 views

Magento 2 - how to set theme as parent theme

I created a new theme. I want to use the Luma theme as the base theme. theme.xml <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
3
votes
2answers
22 views

Why does the default Magento theme have /html subdirectory?

If you look at https://github.com/magento/magento2/tree/2.3-develop/app/code/Magento/Theme/view/frontend/templates , there's phtml templates in this folder, but also in a subfolder called /html ...
0
votes
2answers
43 views

How to change configurable product “Add to Cart” button label to something else in the category page

I am building a custom theme I need to change the configurable products "Add to Cart" button label to "See Options" in category page. Only for the configurable product. Any Help will Appreciate!!
1
vote
2answers
86 views

How to update themes in magento 2.3.2

Currently my site is using porto 3.1.7 theme. I want to upgrade the theme to 3.2.0. My version is Magento 2.3.0. How can I upgrade the theme. Is there something I need to take care of ? Will it affect ...
1
vote
1answer
20 views

override theme .phtml file into custom module

How can override theme .phtml file override into custom module. Path theme .phtml file is app\design\frontend\ThemeName_CompanyName\Module_Catalog\templates\product\view\pricedifference.phtml and ...
0
votes
1answer
36 views

Can't install new Magento theme (using wamp loaclhost)

I am using a localhost wamp server and have downloaded a theme, I have copied the zip file to my root folder and extracted as per the guide at https://zemez.io/magento/support/knowledge-base/step-3-...
0
votes
0answers
138 views

Appear error when upgrade from magento 2.3.2 to 2.3.3

When we execute command line upgrade done appear error in the log: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't ...
0
votes
0answers
9 views

How can I display a static block as the second search result in a product search

I would like to incorporate an html block to serve as a banner as the second search result when someone searches for a product on my site. Example: User searches for shirts result 1. Red Shirt 2. ...
0
votes
1answer
33 views

Where can I restructure the html for the magento 2 product view page?

I am trying to theme my product view page but I cannot find the correct file to override in order to pull in all of the data where I want it. in my /app/design/frontend/theme/Magento_Catalog/...
0
votes
1answer
53 views

What is the use of pagebuilder.widget.initializer on frontend

vendor/magento/module-page-builder/view/frontend/layout/default.xml I have checked the above file and see <referenceContainer name="after.body.start"> <block class="Magento\...
0
votes
1answer
22 views

Use css of one theme into another

I want to use CSS from .less file of one theme into another theme phtml file. There are two theme in my Magento 2.3 site. How can i do this?
0
votes
0answers
15 views

Firefox TypeError: options is undefined in customer-data.js with Weltpixel pearl theme 1.5.5

Getting TypeError: options is undefined in customer-data.js with firefox, With chrome it's working good no issue. Using Magento 2.2.0 & Wetpixel pearl theme1.5.5 This issue is not coming for all ...
0
votes
1answer
25 views

Add custom header link in custom theme

I am trying to add custom header link, but it is not showing.
2
votes
1answer
37 views

magento2 Programmatically change theme in runtime

I have a cookie variable mobile-application = "yes". I need to set a custom theme depends on this variable in magento2. I've already created a custom theme. How I can set it programmatically in ...
0
votes
0answers
24 views

What makes a good theme for performance and reliability?

I am researching the most efficient themes for Magento 2 that will be reliable and supported hopefully for 4 to 5 years. On our current Magento, theme bloat is a big issue. We have extensions for a ...
0
votes
0answers
25 views

Block referencing not working with specific theme

I've been trying to add more blocks to my theme's existing header block but I just can't get it to work. Below is code from my layout file in a module that I have created. As you can see, it is very ...
1
vote
2answers
204 views

Incorrect theme identification key

Any time I run bin/magento setup:upgrade I get Incorrect theme identification key I understand the source is vendor/magento/framework/View/Design/Theme/FlyweightFactory.php so I had added echos to ...
0
votes
2answers
217 views

Static content deploy issue for Magento 2.3.2

Hello! After upgrading Magento 2.1.8 to Magento 2.3.2, I get an error when run command: > php setup:static-content:deploy or > php setup:static-content:deploy en_US -f Text of my Error: ...
0
votes
0answers
57 views

Failed to load resource: the server responded with a status of 404 (Not Found) theme.css.php: 1

The website design suddenly disappeared It worked fine until yesterday, but I noticed that some designs were not displayed today Check it out Failed to load resource: the server responded with a ...
0
votes
2answers
64 views

Call footer block of one theme into another

There are two themes which i am using. One is magento theme 'Smartwave porto' and another is Ced commerce theme which i got for ced commerce extension. This theme is enabled only for this particular ...
0
votes
1answer
41 views

Page builder in magento2

We are going to build a magento2 website which is already in magento1, and having 300+ CMS Pages and some of CMS Blogs. For that i'm looking for the theme which supports the page builder extension. ...
0
votes
0answers
32 views

Override module specific styles.css using less

In my magento 2.3 installation I am using a 3rd party module that has its styles defined in <vendor>/<module>/view/frontend/web/css/styles.css. I need to override this in my custom theme ...
0
votes
0answers
29 views

Magento 2: Move compare products in sidebar above the filter

I need to move the compare products and wish list above the layered navigation in all pages. I have tried this below code in default.xml <move element="sidebar.additional" destination="columns....
0
votes
1answer
191 views

Magento 2 _extend.less in Adminhtml Theme

Magento 2 dev docs are very clear about best practices for extending module styles by placing a file named _extend.less in the <theme_dir>/<module_name>/web/css/source directory. This ...
1
vote
2answers
44 views

CSS and LESS files are ignored in custom theme

I'm trying to customize this component: As I read from the documentation, in order to override the style of this search bar you need to create a folder called Magento_Search and add an _extend.less ...
0
votes
1answer
31 views

Forbidden You don't have permission to access - Magento 2.2.9

When I'm trying to change my theme with the luma theme from backend on Magento 2.2.9 after upgrade from Magento 2.2.6, I'm getting following error. Please help
0
votes
0answers
16 views

How to actually make the site? [duplicate]

I've installed the demo site twice (with and without sample data) in the hopes to understand how everything ties together. Unfortunately, I'm still stuck as to actually designing and building the ...