Skip to main content
6 votes

Problem with link in responsive menu (go to undefinied url)

If anyone has this issue, my problem was that I have a custom menu and the file menu.js of magento looks for .ui-menu-item class (so basicaly I've added this class to my menu items)
Morgan Tartreau's user avatar
4 votes

How to add style rules to print.css

If you use a custom theme you can go to the theme's path: app/design/frontend/YourVendorName/YourThemeName/web/css and do a file called print.less. Into that file copy and paste the content from ...
Anca Mihaela's user avatar
3 votes

RWD swatches not changing images

The reason behind this is the function ConfigurableMediaImages.arrayIntersect. The problem here is that the function must take in two already sorted arrays. Unfortunately the theme does not guarantee ...
David Manners's user avatar
3 votes
Accepted

How to remove Company and Fax field from onepage checkout

I reckon you will also have to comment the code in the following files if you're on the RWD theme: app/design/frontend/rwd/default/template/checkout/onepage/billing.phtml app/design/frontend/rwd/...
Raphael at Digital Pianism's user avatar
3 votes
Accepted

Magento 1.9 - Hide Module/Script from mobile version

There no default way in admin to do so. But you can create a Helper with this function which will return true if it's mobile device otherwise will return false function isMobile() { $useragent=$...
Anil Suthar's user avatar
  • 4,731
3 votes
Accepted

Magento2 - use layouts like bootstrap

You need to go to bootstrap website and customize bootstrap before downloading. When you are on the page disable all options but "Grid system" after that scroll all the way down to download the zip ...
klict's user avatar
  • 387
3 votes
Accepted

Responsive design order in Magento 2

You should build your media queries the proper way the Magento UI library expects it as Magento will build a style file for mobile (styles-m.css) and for desktop devices (styles-l.css). I think the ...
TiEul's user avatar
  • 1,297
3 votes

adding bootstrap to magento 2

You can include it in CMS home page as follows. app/design/frontend/Vendor/theme/Magento_Cms/layout/cms_index_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/...
Kishan Patadia's user avatar
2 votes
Accepted

where to put my theme in rwd package?

You have to add rwd in Current Package Name in admin Desing tab instead of default. You have to add page.xml inside app/design/frontend/rwd/default/layout/page.xml. You have to remove your custom ...
Rakesh Jesadiya's user avatar
2 votes
Accepted

Reload theme on page resize

As themes contain dynamic files such as PHP and PHTML templates you will need to refresh the page, it isn't as simple as just changing a theme at a certain breakpoint. Because of this my ...
Ben Crook's user avatar
  • 15.7k
1 vote
Accepted

Move Minicart responsive

You can use jQuery to move minicart for small device (window width less than 768px ). <script type="text/javascript"> require(['jquery'], function($) { $(document).ready(function(){ ...
Satish Dubariya's user avatar
1 vote
Accepted

What does RWD theme name stands for?

RWD stands for 'Responsive Web Design'.
Himanshu's user avatar
  • 1,761
1 vote

Magento 2.2: How to apply breakpoints in custom .less files

Problem is that there is no less fail that imports your custom less file. For example you could move blank theme module LESS file under your theme one Vendor/theme/Magento_Theme/web/css/source/...
K-s's user avatar
  • 51
1 vote

Use of Imagesloaded plugin in the RWD theme

Basically this js file checks/ Detect when images have been loaded. You can read / check more about it here https://github.com/desandro/imagesloaded. and Magento uses it here skin/frontend/rwd/default/...
xMageStore's user avatar
1 vote

Disable gesture zoom in responsive

Have you tried testing on different devices? Some device such as iPhones on iOS10+ completely ignore this as it results in terrible user experience. See https://stackoverflow.com/questions/37808180/...
Ben Crook's user avatar
  • 15.7k
1 vote
Accepted

How to add style rules to print.css

print.less file is used for print styles: vendor/magento/theme-frontend-blank/web/css/print.less So you should just need to extend/overwrite this file in your theme. More info found on the dev docs ...
Ben Crook's user avatar
  • 15.7k
1 vote
Accepted

Magento 1.9: Missing translation of the minicart "remove item" pop-up buttons?

I guess it is the browsers default confirm dialog, so it can't be translated via CSV. Related posts: https://stackoverflow.com/questions/13694133/localization-for-javascript-confirmation-buttons ...
sv3n's user avatar
  • 11.7k
1 vote

How to show 4 product desktop view and 2 in mobile view - Magento 1.9

1) Firstly, dont update it directly in catalog.xml but in local.xml of your custom theme. 2) Assuming that the actual block name is: <block type="...", name="block1" template="..."> <...
PЯINCƎ's user avatar
  • 11.7k
1 vote
Accepted

How to check which template /view file is used - rendered

First you need to know which template is used for your store. This can be checked in System > Configuration > Design. Package will tell you which of the folder from app/design/frontend to check ...
Zefiryn's user avatar
  • 5,898
1 vote
Accepted

1 part of the sidebar at top, rest at bottom

An container added wrapped to all block .container { max-width: 700px; margin: 0 auto; display: flex; flex-wrap: wrap; } .container .content { width: 100%; float: left; ...
karthick's user avatar
  • 675
1 vote

CMS Images Not Responsive

You tried below? <div class="col-md-12"> <img src="your img source" style="width:100%"/> </div>
Ram Pratap Singh Gour's user avatar
1 vote

How to disable purchase order for guest checkout?

I'd suggest using an observer on the payment_method_is_active event. This fires just before Magento renders the payment methods in the checkout, enabling you to step in and switch methods on and off ...
RichieJP81's user avatar
1 vote

How to display Configurable/Color Swatches in Homepage Magento 1.9.1

in your catalog/product/homepage-list.phtml find img tag for product image and update the code <?php $_imgSize = 300; ?> <img id="product-collection-image-<?php echo $_product-&...
Murtuza Zabuawala's user avatar
1 vote
Accepted

Magento 2: how to set an element to disappear when viewing in mobile device?

The problem is that you set display: none after the media query, resulting the media query having no effect. You need to reorder the rules like this: .header.content .links { display: none; } @...
Aaron Allen's user avatar
  • 9,009
1 vote

Responsive web design

Use bootstrap, it has a grid system to easily define the differences between a desktop and mobile app. W3Schools has a great all around tutorial for learning bootstrap, it won't take you long. http:/...
TanguyB's user avatar
  • 213
1 vote

Remove hover from categories Magento 1.9 RWD

So if I understand you want only category and not the slide menu with all subcategory? If yes, you need to go /app/design/frontend/yourtheme/yourtemplate/template/page/html/topmenu You will see the ...
westh's user avatar
  • 53
1 vote

PageSpeed - Eliminate render-blocking JavaScript and CSS in above-the-fold content

Here is open source extension to solve that https://github.com/mediarox/pagespeed Current features Move all Javascript tags (head & inline) to the bottom. ({stripped_html}{js}) including ...
FireBear's user avatar
  • 2,120
1 vote

Add Review Form To Product Page Magento 1.9

Just put this code in your review.xml layout theme file. <catalog_product_view> <reference name="product.info"> <block type="review/product_view_list" name="product....
ARVIND KARKAR's user avatar
1 vote

Add Review Form To Product Page Magento 1.9

Add <remove name="product.reviews"/> before the tags and the duplicated version should be gone. This way the reviews block will be first removed and after this it will be added again with the ...
Wouter's user avatar
  • 79
1 vote

Add Review Form To Product Page Magento 1.9

thanks a lot for the hint, for me it worked very fine. i still have a problem, the review tabs are showen twice. the xml is correctly, take a look: <block type="review/product_view_list" name="...
Florin P.'s user avatar
  • 324

Only top scored, non community-wiki answers of a minimum length are eligible