Support Forums for LiveMesh Themes & Plugins › Forums › Squash Theme Support › Remove the mouseover effect on Portfolio Thumbnails › Reply To: Remove the mouseover effect on Portfolio Thumbnails
July 12, 2013 at 3:59 am
#1117
Keymaster
To make the image open up the lightbox image, you need to make the following change in thumbnail-functions.php file located in framework/functions/ folder.
Change line number number 28 to
function mo_show_image_info($context) { return ($context == 'archive' || $context == 'starter'); }
and then line number 99 in the same file from –
if (empty($before_html)) { $before_html = ''; $after_html = '' . $after_html; }
to –
$rel_attribute = 'rel="prettyPhoto[' . $context . ']" '; if (empty($before_html)) { $before_html = ''; $after_html = '' . $after_html; }
This will get rid of the hover effect and will make the whole image a link.