sunreader Posted March 31, 2015 Share Posted March 31, 2015 Hello, I'd like to make all products appear, as the mouse was always on the product, Currently it looks like this: And I would like it to always look like this: Does anyone know how to do that ? Link to comment Share on other sites More sharing options...
sunreader Posted March 31, 2015 Author Share Posted March 31, 2015 anyone, who might be able to help? ^.^ Link to comment Share on other sites More sharing options...
sunreader Posted April 3, 2015 Author Share Posted April 3, 2015 bump Link to comment Share on other sites More sharing options...
Enrique Gómez Posted April 4, 2015 Share Posted April 4, 2015 (edited) If you add to product-list.tpl line 49 aprox the hovered class at the end in the li element <li class="ajax_block_product{if $page_name == 'index' || $page_name == 'product'} col-xs-12 col-sm-4 col-md-3{else} col-xs-12 col-sm-6 col-md-4{/if}{if $smarty.foreach.products.iteration%$nbItemsPerLine == 0} last-in-line{elseif $smarty.foreach.products.iteration%$nbItemsPerLine == 1} first-in-line{/if}{if $smarty.foreach.products.iteration > ($smarty.foreach.products.total - $totModulo)} last-line{/if}{if $smarty.foreach.products.iteration%$nbItemsPerLineTablet == 0} last-item-of-tablet-line{elseif $smarty.foreach.products.iteration%$nbItemsPerLineTablet == 1} first-item-of-tablet-line{/if}{if $smarty.foreach.products.iteration%$nbItemsPerLineMobile == 0} last-item-of-mobile-line{elseif $smarty.foreach.products.iteration%$nbItemsPerLineMobile == 1} first-item-of-mobile-line{/if}{if $smarty.foreach.products.iteration > ($smarty.foreach.products.total - $totModuloMobile)} last-mobile-line{/if} hovered"> And comment in js/global.js the blockHover function call. function responsiveResize() { compensante = scrollCompensate(); if (($(window).width()+scrollCompensate()) <= 767 && responsiveflag == false) { accordion('enable'); accordionFooter('enable'); responsiveflag = true; } else if (($(window).width()+scrollCompensate()) >= 768) { accordion('disable'); accordionFooter('disable'); responsiveflag = false; } //blockHover(); } You'll have the desired outcome Edited April 4, 2015 by Enrique Gómez (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts