Hi there, I am trying to disable the larger popup image that appears when you click on a thumbnail on the portfolio. I'm basically creating a page where all I want is a thumbnail and a 'visit site' link, but I don't want a larger image to display when the thumbnail is clicked. Any way to easily do this?
infocus Wordpress - Disable large image popup from thumbnails in the portfolio
(6 posts)
(2 voices)
-
Posted 10 months ago #
-
Hello bendbutler,
Try adding this line in the bottom of your style.css file,
.portfolio_single_pic { display: none; }Let us know if that is what you were wanting.
Posted 10 months ago # -
Hi Elliot, I tried this, but it didn't seem to change anything. I'd like to disable the entire process though. So no rollover on the thumbnail, no faded magnifying glass, and no popup larger image.
Posted 10 months ago # -
Sorry bendbutler, I thought you were talking about the image when viewing your post.
To get rid of prettyPhoto on the portfolio then open up
/wp-content/themes/infocus/lib/includes/template-portfolio-gallery.phpand on lines 214 - 217 you should see this,<a class="load_portfolio_img" rel="lightbox[portfolio]" href="<?php echo $portfolio_video_link; ?>"> <span class="rm_portfolio_img noscript"><img src="<?php echo $gallery_image_url; ?>" alt="" /></span> <span class="roll_over<?php echo $rollover_class; ?>"></span> </a>Change it like this,
<a class="load_portfolio_img" href="<?php echo $portfolio_video_link; ?>"> <span class="rm_portfolio_img noscript"><img src="<?php echo $gallery_image_url; ?>" alt="" /></span> </a>Let us know if that is what you were wanting.
Posted 10 months ago # -
That's fantastic Elliott! The magnifying glass and the popup are gone. Is there a way to disable the link from the image though? It still has a hyperlink that goes to another page that has just the image.
Posted 10 months ago # -
Yes, on line 214,
<a class="load_portfolio_img" rel="lightbox[portfolio]" href="<?php echo $portfolio_video_link; ?>">Change it like this,
<a class="load_portfolio_img" rel="lightbox[portfolio]" href="#">Let us know if you need anything else bendbutler.
Posted 10 months ago #
Reply
You must log in to post.













