Questions tagged [theme]

Questions about creating, modifying and configuring Magento themes

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

Layout XML in third party theme

I am a beginner in Magento 2. I installed a third party theme, in the home page, I founded this code on Layout Update XML field <referenceContainer name="slide.showcase"> <...
0
votes
0answers
6 views

How to add block to main container from custom theme?

I've created a custom theme: app/design/frontend/TestVendor/testTheme with registration.php and theme.xml files. Inside the testTheme folder I've created another folder: TestFolder and inside this ...
0
votes
0answers
24 views

Magento2 static-content:deploy error "no matching definition was found" after updating magento version

Two years ago we started programming a Magento 2 shop with version 2.3.3. However, the development was stopped for 2 years and should now continue. However, I now have a problem with my theme when I ...
0
votes
1answer
24 views

magento 2.3 display first two product images on details page

i am using magento 2.3 version and i am using custom theme so i want to product page in main image showing first two images so when main image sliding and another coming it and rest first same like it ...
0
votes
0answers
15 views

Can I install Porto theme and Claue theme as the same time?

Currently I have installed the Claue theme. Now I would like to change to Porto theme without delete the Claue theme. Is this possible without problems between both themes?
0
votes
0answers
20 views

how to create seprate theme for desktop and mobile

i want to create separate theme for mobile view and desktop view...i did add User Agent Rules like "iPhone|iPod|BlackBerry|Palm|Googlebot-Mobile|Mobile|mobile|mobi|Windows Mobile|Safari Mobile|...
0
votes
2answers
182 views

Magento 2.4.3 - Module and Theme Installation not working

I have installed Magento 2.4.3 via composer and trying to install custom frontend/admin theme and custom modules. These modules are already working in version 2.3 that have been copied and added at ...
0
votes
1answer
23 views

Difference between various default.xml

I'm trying to do some simple modification to my theme, but I can't understand why there are 2 different default.xml files, one under \vendor\magento\module-theme\view\frontend\layout\ and the other ...
1
vote
1answer
40 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
0answers
15 views

Success screen stuck in luma theme Magento 2.3.5 Community Edition

everything good? I'm trying a problem that I've never caught in these 2 years of magento, I would like to know if you've been through this for tips on how to get out. On the success screen, the layout ...
0
votes
2answers
53 views

Full page background on Magento 2 page

I'm trying to understand, how could I implement a full page background on a custom theme. For example if I want to manually create a slider inside a Magento 2 home page like this: How could I do? ...
0
votes
1answer
10 views

Wrong static files loaded

I've just deployed a new env and I'm getting some strange thing. In the frontend, my static files load properly from my custom theme frontend/Website/default/fr_FR But once I come into the admin, all ...
-1
votes
1answer
58 views

How to disable Magento 2 Content Security Policy with theme edit only

I have searched alot on the internet and I want to hide this error (magento 2.4) content security policy error , we don't have authority to disable magento_csp module and we can not create module, we ...
0
votes
0answers
19 views

Magento 2 - How to extend core adminhtml less file?

I try to extend the file vendor\magento\module-page-builder\view\adminhtml\web\css\source\_buttons.less to add my custom styles to it. I tried to add it to my custom module and added my custom styles: ...
0
votes
0answers
23 views

Magento 2 - How to completly override a core .less file?

I need to completly replace this .less file from magento 2 core with my own file: vendor\magento\module-page-builder\view\frontend\web\css\source\content-type\button-item\_default.less but I can't ...
1
vote
1answer
161 views

Magento doesn't include theme.css in html

I'm experiencing a strange issue. On Prod/Preprod environment the application works fine but on dev environment (OSX) suddenly the application stopped working and we have no way to get it back on. We ...
0
votes
0answers
28 views

Child Theme is not working in Magento 2.4.2 Enterprise Version

I had created the Child theme in my Magento 2.4.2 Enterprise Version, The Child theme is created and it is showing in admin panel we also applied the Child theme using admin panel, and ran the ...
0
votes
2answers
47 views

Installation of the theme using putty

I am using puTTY and its showing the error.
0
votes
1answer
20 views

Adding data under price for each product in product listing

I want to add some data under the price for each product in a product listing. To show an example I would like to add static data where the blue lines are: I've made modifications to frontend/company/...
0
votes
1answer
39 views

Proper Place to Add CSS in Magento2 and Magento only Showing CSS Changes when Clearing Browser Cache?

I am trying to modify some CSS files in my Porto theme in Magento 2.3.5pt-2. When modifying the CSS in pub/media/porto/web/css/custom.css I am not seeing any changes. I am in developer mode, I have ...
0
votes
1answer
48 views

Unable to install theme with composer

I'm trying to install Alpaca theme following the documentation. I've created my composer.json file under app/design/frontend/ben/gotheme/composer.json { "name": "ben/gotheme", &...
0
votes
0answers
20 views

Structure of a vue application in a magento theme context (NOT STOREFRONT)

Unfortunately google really wants to tell me about Vue storefront whenever I search for it with magento but I only want to integrate vue as part of a regular frontend theme.. Primarily to work on a ...
0
votes
0answers
67 views

How to change HTML of Menu in Magento 2.4.2 Claue Theme?

I want to change some HTML in Magento 2.4.2 Claue theme. Like when I add 12 subcategory the design is not good it will add subcategory one below other so it will not looking good. I want to add ...
0
votes
1answer
101 views

Magento 2.4.2 - Strange problem with JS path in a multistore environment

I have a really strange problem. We load a JS file in before.body.end in a multistore setup, like this: \app\design\frontend\Vendor\Theme\Magento_Theme\layout\default.xml <referenceContainer ...
0
votes
1answer
22 views

Magento 2.4.2, child theme of Blank - Front end. How do you remove properties in parent Blank theme styles, for example footer border?

The file I use to override these styles: app/design/frontend/Vendor/ChildTheme/web/css/source/_module.less as per M2 documentation. I tracked that it applies my modified styles, but then goes and puts ...
0
votes
1answer
19 views

Need to change the site mail Logo if my module called in magento 2.3

I need to change the logo if the page is used in my custom modules. There are 2 Logos - Logo 1 and Logo 2. My Module test/login test/list If the above modules come I need to show the Logo 2
0
votes
1answer
13 views

How many Theme licenses to buy on 1 Magento 2.x install with 3 websites/stores/storefronts each running on a separate domain?

Magento 2.4.2 Porto theme I am setting up a new project on Magento 2.4.2 which will have 1 Magento installation running on a dummy (not used in the project at all) domain with 3 additional websites/...
0
votes
1answer
13 views

upload porto theme with existing database in Magento 2.3.5

can I upload the porto theme and use my old products hence the dummy data will be removed and my old data will be shown... is this possiable furthermore will my old categories appear in the theme or ...
0
votes
1answer
35 views

Override Model from third party vendor in custom theme

I am trying to override a Model from a third Party vendor in a custom-theme. The original file was: /vendor/3rdpartyompany/3rdpartymodule/Model/Formatter/BaseImage.php I copied that file over to: /...
0
votes
3answers
63 views

What's the best way to customize the css in Magento 2?

I created my theme as Luma child but I cannot really understand what's the best way to customize the css. Until now I just wrote all of my styles in _extend.less file but it's a lot of stuff for just ...
1
vote
0answers
23 views

Magento 2 - How to override knockoutjs template which is already overriden from a third party module?

I try to override the knockoutjs template vendor\amasty\module-single-step-checkout\view\frontend\web\template\checkout\summary\item\details.html from my own Theme. The module amasty\module-single-...
0
votes
1answer
41 views

Magento 2 Theme Development Image to spread across home page

I can't figure out to spread a image across a screen. It's in a block, which is then put into the cms home page. Block; <div><img id="intro-img" src="{{media url="images/...
0
votes
1answer
74 views

Magento 2 Scandi PWA theme shows admin panel and frontend without styles

so I have been struggling installing Scandi PWA on Magento 2.4.2. I have managed to get to the final step, where you just need to select the theme on admin panel like documentation says: Run the ...
0
votes
1answer
38 views

How to install sm_market theme in magento 2.3.6

How to insatll sm_market theme in magento2.3.6. I want to install it manually.
0
votes
1answer
37 views

Error during compilation of Magento 2 Incompatible argument type : Required type:

Webkul\VendorPos\Model\ResourceModel\Orders\Grid\Collection Incompatible argument type: Required type: \Magento\Framework\App\Config\ScopeConfigInterface. Actual type: \Magento\Framework\DB\Adapter\...
0
votes
2answers
29 views

Magento2 Add header and footer in checkout page in enterprise edition

Can anyone let me know how to add header and footer in checkout page in magento2? i have Magento Enterprise edition, i tried with below code in theme/checkout_index_index.xml but its not working: <?...
0
votes
2answers
40 views

Create a new admin theme and make an override of sales module template

I tried to create an admin theme and make an override to sales module template file but this don't work, i followed those tutorials : create admin theme and Apply custom admin theme in app/design/...
0
votes
1answer
40 views

Exception error in claue theme

I am having an error while working on claue theme on magento 2.4 after installation. 1 exception(s): Exception #0 (Exception): Notice: Undefined offset: 1 in /opt/lampp/htdocs/app/code/MGS/...
0
votes
1answer
33 views

Magento 2 Default Meta description has no effect

I try to add meta description to my Magento 2 theme under Content -> Design -> configuration -> Edit -> HTML Head -> default meta description but the text I add has no effect, when I ...
0
votes
2answers
26 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
0answers
33 views

Reposition delete button magento2.4

How to reposition this button on Order Summary.
0
votes
0answers
36 views

Produt image zoom in a custom theme

The Magento Luma theme has a functionality where you can zoom_in or zoom_out the product image in the pop-up gallery. I would like to know how can I add or configure the same in a custom theme (Claue ...
0
votes
1answer
59 views

Base theme for magento

Is it is possible to create base theme, which will become a common theme to both the adminhtml and frontend?
0
votes
1answer
18 views

Changing the layout & design for a specific set of products

On 3 of my products I wanted to change the look & feel along with the layout As an example, I want to move the product title so I have created a new child theme like below /app/design/frontend/[...
0
votes
0answers
16 views

How do I "force" a theme layout of 1 column for a single page?

we edited the xml and now the sidebar does not show but we need to, for that page, to make the theme be 1 column and now 2 as it is right now. It's from a module so we can't edit the layout on the ...
1
vote
0answers
22 views

Magento Category Navigation - Customising Topmenu.php, adding columns using "$colBrakes" + "shouldAddNewColumn"?

I am successfully customising the magento 2 navigation by extending 'vendor/magento/module-theme/Block/Html/Topmenu.php' (and also 'vendor/magento/module-theme/view/frontend/templates/html/topmenu....
0
votes
1answer
35 views

Magento 2 - How to load image from theme in frontend?

I uploaded the image amazon-pay-ic.svg to THEME/web/images/. How can I load it in the frontend? I tried www.example.com/images/amazon-pay-ic.svg but it does not work and shows the 404 site.
0
votes
1answer
18 views

Changes to theme not being represented in browser

I am currently working on a Magento store. There is a 3rd party price tag that shows when viewing a product. The original price is sometimes displayed as plain text next to the image of the product. ...
0
votes
0answers
24 views

view.xml Fotorama gallery thumbnail sizes @2x?

I just want to increase the size of the gallery thumbnail images, but then set their display size smaller via css to achieve high resolution display. (The default display is 1x which is noticeably ...
0
votes
2answers
27 views

Applied Theme not showing on store

I have created 2 custom themes for the site, and applied one of theme as the theme store. But my webpage/store is loading the layout of the theme which is not been applied. I have been struggling with ...

1
2 3 4 5
30