Home Forums ZA WordPress Theme make the portfolio tile clickable Reply To: make the portfolio tile clickable

#10408

BWSM
Keymaster

Hi,

You could use custom javascript code in /js/custom.theme.js:
( https://www.dropbox.com/s/kxp0r22d9n2hn10/QQ20160421-1.jpg?dl=0 )

if(jQuery('.moudle .list-layout-item').length) {
			jQuery('.moudle .list-layout-item').each(function(){
				var item_link  = jQuery(this).find('.list-layout-more').attr('href');
				console.log(item_link);
				jQuery(this).css('cursor','pointer');
				jQuery(this).click(function(){

					window.location.href = item_link;

					return false;

				});
			});

		}

Cheers!
Bwsm – uiueux.com
Twitter Facebook