Home Forums Aside WordPress Theme About filters… Reply To: About filters…

#8269

BWSM
Keymaster

2) changed 2 file:
2.1)
js/custom.theme.js
add to line 434

if(jQuery('.filter-floating').length) {
			 
			jQuery('.filter-floating').on({ 'touchstart click' : function(){ 
				if(jQuery(this).find('ul').is(":visible")){
					jQuery(this).find('ul').css('display','none');
				} else {
					jQuery(this).find('ul').css('display','block');
				}
				 
				return false;
			} });
		}

2.3)
css/pagebuild.css
line 541-555, change / add:

.touch .filter-floating ul {
	display: none;
}
.filter-floating ul li {
	float: none;
}
.no-touch .filter-floating:hover ul,
.touch .filter-floating ul {
	opacity: 1; visibility: visible; z-index: 999;
	-webkit-transform: translateX(-20px);
	-moz-transform: translateX(-20px);
	-ms-transform: translateX(-20px);
	-o-transform: translateX(-20px);
	transform: translateX(-20px);
}