Questions tagged [theme]

Questions about creating, modifying and configuring Magento themes

Filter by
Sorted by
Tagged with
1
vote
4answers
712 views

How to override Magento checkout shipping.html

myproject/vendor/magento/module-checkout/view/frontend/web/template/shipping.html Overring using the fallback. myproject/app/design/frontend/Solace/olsto_child/Magento_Checkout/web/template/shipping....
0
votes
1answer
172 views

Magento 2 Theme Development - grunt watch not detecting changes of custom LESS file

We are running Magento 2 in version 2.3.1, but the error occurred in version 2.3.0 also. The situation is the following: we've created a custom theme which has Magento/luma theme as parent. according ...
2
votes
2answers
2k views

Magento 2 - Overwrite module-swatches view.xml

How do you overwrite the view.xml in \vendor\magento\module-swatches\etc\view.xml in your own template? I want to overwrite the sizes for swatch_image and swatch_image_base. I tried putting the ...
1
vote
2answers
368 views

Issue with multiple custom product details tabs not displaying

In catalog_product_view.xml I have the following section: <referenceBlock name="product.info.details"> <block class="Magento\Framework\View\Element\Template" template="Magento_Catalog::...
1
vote
2answers
575 views

Magento 1.9 - Unistall theme

I want to unistall an old theme from my Magento. I read for the moment that is possible only from ftp and delete the current folders. I tried from the Magento Connect Manager but my custom theme does ...
0
votes
1answer
93 views

How to use different page layouts depends on base layout specified?

I have to use different page layouts (<page>) depends on base layout (<layout>) specified for a product. For example, if I select a layout in product's 'Design' menu with the name ...
0
votes
0answers
18 views

Menu Items Showing up Behind Remove Item dropdown Magento 2.2

Getting this issue with our magento e-commerce site, The remove item popup is showin below the menu, as you can see in the picture below the menu text appears over the dropdow menu, and are ...
0
votes
3answers
798 views

How to install a free theme on Magento 2.2.5 on XAMPP local host

I have installed the latest version of Magento2.2.5 without sample data using XAMPP. Now I am trying to install a free third party theme from Venus themes. I have copied the app folder from the free ...
2
votes
2answers
52 views

Best pratices to update the module-checkout

I want to add some custom text test to my mini top cart in my theme header section. I see it is located here: public_html/m2/vendor/magento/module-checkout/view/frontend/templates/cart/minicart.phtml ...
0
votes
0answers
20 views

Magento 2 Theme development when HTMLs are provided

I need to integrate,develop theme from the HTMLs provided.The designer provided me with Homepage,Cart,Account page HTMLs etc.Need to either integrate with existing luma theme or create from scratch....
1
vote
1answer
34 views

Mismatched Magento version while using composer

I currently have Magento running on Ubuntu Xampp, and attempted to run composer on a theme file, which prompted me to install a load of PHP extensions. I did this (7.2 for all of them, same as system ...
0
votes
2answers
1k views

Customize Magento2 sales email, in especial items.phtml

We are struggling since hours with customization of the Order- and other sales emails. The part with the email templates (e.g. order_new_guest.html etc.) works easily fine. However, we do not succeed ...
0
votes
1answer
194 views

Configure theme admin in frontend

I tryed to making a theme options for change font size and family from backend but in frontend i don't see changes. I see the option (font size and font family ) on adminpanel. I have done the file ...
2
votes
1answer
3k views

Remove or overwrite style-l.css in custom theme

I have some issues because of the order that CSS is being loaded in. We have <link rel="stylesheet" type="text/css" media="all" href="https://<site>/pub/static/_cache/merged/...
0
votes
1answer
52 views

how to do theme intergate in magento 2.3?

I downloaded a theme using this link How to used CSS js HTML same theme show in Magento 2.3 frontend side so please tell me what to do in theme integration
2
votes
1answer
52 views

Magento 2.3 add chunk of javascript code to my Custom Theme (phtml file)

I need to implement a Few Functions of javascript and a jquery code in to a phtml file in my Custom Theme. I have read about the different way of implementation but I am not sure which is the best way ...
0
votes
1answer
61 views

IP Admin url returning 404 error after succesfull installaion [closed]

Deployed magento on linux machine. I cant able to access front-end and admin after successful installation. store ip: http://52.187.32.74/rahhams store admin ip: http://52.187.32.74/rahhams/...
1
vote
1answer
48 views

Adding a favicon in magento 2.3.0 manually - it just appears in firefox

According to devdocs of magento 2.3.0 I tried to add a favicon manually. https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/favicon.html Attempt 1: /magento2/app/design/frontend/...
0
votes
1answer
16 views

Is it possible to add a template to a theme in magento 2?

Current situation: I have created a custom theme that extends from the Magento blank theme. Requirement: I need to add a section that contains some small images to the footer for the whole site. ...
9
votes
2answers
4k views

Magento 2 custom theme layout xml and css not working

I created a new theme and it was working fine but after a few days, I realized some things weren't working. default_head_blocks.xml is no longer pulling in any css files that I include (both hosted ...
0
votes
1answer
29 views

why button not showing in custom theme in magento 2?

when i go customer login and customer module and custom_module related pages button is not showing when i move a mouse over that button the button is showing how to solve this css color ...
2
votes
0answers
23 views

Finding source of a div “toolbar-top” on inhereted Magento 1.9 Project

I am working on a relatively complicated Ecommerce store on Magento 1.9. I need to add some very simple paragraph text above a toolbar header that floats in the category navigation section of the ...
4
votes
4answers
7k views

After deleting files under 'view_preprocessed' folder they dont appear again when reloading site

I'm testing some small LESS changes in my theme. After every change I delete the contents inside: pub/static/frontend/mytheme and var/view_preprocessed Then I reload my site and the contents of ...
0
votes
0answers
41 views

Magento 2.3 Add User New User Agent Rule not working

I have 2 custom themes, one is applied globally and everything is fine with it. Now I want to apply a second theme for mobile devices. Whatever I type in the back-end field for the user agent the ...
0
votes
0answers
21 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, ...
1
vote
4answers
67 views

how to override Custom theme phtml file by custom module

I Want to override this is Current theme path that i want to override. I have a file In /public_html/app/design/frontend/Venustheme/fashion/Magento_Catalog/templates/product/view/gallery.phtml ...
2
votes
1answer
71 views

How to disable frontend for CMS/API-only, headless Magento 2.3

I'm currently working on a web-app that uses Magento 2.3 as a CMS-only. How can I disable the customer-facing frontend and leave only the admin pages accessible? Alternatively, is there a way to set ...
0
votes
1answer
100 views

Preview a Theme in Magento Commerce

Is it possible to preview a theme I'm working on? I am creating a new theme for a Magento website but do not want my changes to be live on the main store until I am happy. Is there a way to preview ...
5
votes
1answer
204 views

use of <file> tag in layout?

<file> tag in layout file. I have use one third party extension. In their layout file they have use the below code. <action method="addJs"> <file helper="rewardssocial/...
3
votes
2answers
151 views

How to create new theme in magento 2 without parent theme delcartion?

What if i don't declare parent theme in theme.xml while creating new theme in magento 2? will the new theme work properly?
1
vote
0answers
23 views

How can I set the theme/package just for a custom module?

I have a module that adds some custom content that I would really like to display with a different theme to that used for the main store. The main store theme has a theme that knocks out the CSS etc ...
3
votes
1answer
33 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 ?
2
votes
1answer
44 views

Creating grandchild themes

I'm using ultimo theme for a multi store configuration. Since I have to update the theme regularly I don't want to make changes to the base files of it.But I've to make some changes which apply to all ...
0
votes
1answer
586 views

Magento 1.9 change package folder and theme name

could someone explain to me how can I change the package folder and the theme name of a Magento 1.9.3 theme that I downloaded and installed?
2
votes
1answer
646 views

Assign a separate theme to product pages and categories

I have magento 2 and a requirement to show a certain category, subcategories and product pages in those categories using a different layout then other product pages on my store. So just to be clear: ...
1
vote
6answers
9k views

Products can't be added to cart

I'm busy developing a Magento 2 theme. Now I updated my local and production server to Magento 2 (the latest release from yesterday). Since this version I get this error when I try to add a product to ...
1
vote
1answer
136 views

.lib-url-check is undefined Magento 2.3 static content deploy error

Magento 2.3 when deploying static content this error occurs: Compilation from source: /var/www/html/MyProject/vendor/magento/theme-frontend-blank/web/css/styles-m.less .lib-url-check is ...
2
votes
1answer
66 views

Magento 2 - Adding external link for Font Awesome URL

Here I am making my own theme and I want to add font-awesome external URL. I have created a file in my custom-theme directory in the path app/design/frontend/vendor/theme_name/Magento_Theme/...
2
votes
1answer
31 views

Magento custom theme, overwrite block content

I developed a custom theme for Magento 1 for one of my projects. Or tried to follow the guidelines of the communites. I have not overwritten the files {layout}.xml I have created new ones on a module ...
1
vote
1answer
43 views

How to override top menu css in Magento 2?

I want to override top menu CSS and replace it with my own CSS. I don't know which CSS file is responsible to display top menu. I only need to override CSS and don't want to make any changes to ...
6
votes
3answers
8k views

Error “Cannot read contents from file..” when changing themes from admin panel

Error: Cannot read contents from file "C:/wamp64/www/magento2/" Warning!file_get_contents(C:/wamp64/www/magento2/): failed to open stream: No such file or directory
0
votes
2answers
272 views

Magento 2 Error: technical problem with the server created an error on logo upload Magento 2.3.0 [duplicate]

On Magento 2.3.0 version when you try to upload logo for theme from admin side it will gives error as below: "technical problem with the server created an error." Is there something wrong with ...
1
vote
1answer
592 views

Magento 2: Display price from and to next to product listing

Can anyone tell me how to make it so when you have a product with multiple prices inside such as configurable products it shows the price range on the product listings rather than just the lowest ...
1
vote
2answers
599 views

Magento 2 : Move Cart Summery

I am working on checkout/cart page and my task is to move cart summary. I am creating my file in my theme folder app/design/magestore/sample/magento_checkout/layout/checkout_cart_index.xml and my ...
1
vote
0answers
27 views

Magento 2 - Is it OK to remove Magento standard CSS completely?

I'm making a website using my own theme. I wonder if it's an OK practice to remove Magento's standard CSS styles-m.css and styles-l.css, and only using my own CSS? <remove src="css/styles-m....
4
votes
1answer
112 views

how to create new magento structural blocks to change theme layout?

I have problem with magento layout xml. I want to create custom structural blocks as accomplish following. I want to create custom as following.
2
votes
1answer
440 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 ...
3
votes
2answers
4k views

How to Override Module CSS in Custom Theme?

I am using Magento 2.1.3 EE and my custom theme is using Luma as it's parent. I am trying to override a third-party module's CSS in my custom theme. I am not using LESS. When I say override, I mean ...
2
votes
4answers
6k views

Magento 2.0 - There is no framework like bootstrap included right?

I have to installe magento 2.0.7 and I was asked what framework it will use. I have read magento 2 should use zend framework though I don't really see that it is something like bootstrap for easy ...
1
vote
0answers
40 views

How Can we use React JS product View page in magento 2?

I need to do some functionalities in which the page to not load. I prefer to react js but I don't know how to add react js for selected modules of Magento. I need to react for Magento component view ...