Jump to content

disabilitare "Mouse over" lista prodotti


Recommended Posts

Ciao e grazie per il suggerimento.

Ho dato un'occhiata con il comando "ispeziona" di Chrome, se ti riferisci a quello.

Credo che le parti interessate siano dentro il file product_list.css anche se non ne sono troppo sicuro...

Qualcuno ha provato ?

Link to comment
Share on other sites

RISOLTO!  :D 

Il file da modificare è /themes/js/global.js

commentare la funzione blockHover (dalla linea 183)

//function blockHover(status)
//{
//	var screenLg = $('body').find('.container').width() == 1170;
//
//	if ($('.product_list').is('.grid'))
//		if (screenLg)
//			$('.product_list .button-container').hide();
//		else
//			$('.product_list .button-container').show();
//
//	$(document).off('mouseenter').on('mouseenter', '.product_list.grid li.ajax_block_product .product-container', function(e){
//		if (screenLg)
//		{
//			var pcHeight = $(this).parent().outerHeight();
//			var pcPHeight = $(this).parent().find('.button-container').outerHeight() + $(this).parent().find('.comments_note').outerHeight() + $(this).parent().find('.functional-buttons').outerHeight();
//			$(this).parent().addClass('hovered').css({'height':pcHeight + pcPHeight, 'margin-bottom':pcPHeight * (-1)});
//			$(this).find('.button-container').show();
//		}
//	});
//
//	$(document).off('mouseleave').on('mouseleave', '.product_list.grid li.ajax_block_product .product-container', function(e){
//		if (screenLg)
//		{
//			$(this).parent().removeClass('hovered').css({'height':'auto', 'margin-bottom':'0'});
//			$(this).find('.button-container').hide();
//		}
//	});
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...