Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The topic ‘Remove Lightbox + Hover’ is closed to new replies.
Hello. How can you turn off the lightbox and hover for the theme? For example, I want to remove the lightbox + hover on the ajax preview image, etc. I do want to retain the hover effect for portfolio items and portfolio/blog sliders. Thanks!
Open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodesportfolio.php and replace:
$params['style'] = "big_thumb";
with
$params['style'] = "big_thumb";
$params['imagelink'] = "avianolink noLightbox";
and
$output .= " <a href='".$img[0]."' class='portolio-preview-list-image' title='".$description."' ><img src='".$img[0]."' title='".$title."' alt='".$alt."' /></a>";
replace with
$output .= " <img src='".$img[0]."' title='".$title."' alt='".$alt."' />";