-
AuthorPosts
-
August 10, 2017 at 4:58 am #836713
Is there a way to have an image swap on hover within a gallery? My gallery has 16 different images and each would need to have a unique rollover image. Or is there a way to control the caption pop-up so it is centered over the image and not above it. If there is a way to control the caption then can I also control it’s shape, I’d rather it be a square like the picture frames within the gallery.
August 10, 2017 at 6:40 am #836761Hey JeffDale,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Best regards,
John TorvikAugust 10, 2017 at 6:48 am #836771Unfortunately it is on a local server at this point. Would screen captures help in any way?
August 11, 2017 at 5:22 am #837280Hi,
There is no functionality for changing the image on hover by default in the theme unfortunately, so you would have to look for a plugin or custom solution to implement that.
Best regards,
RikardAugust 18, 2017 at 6:17 pm #840983The site is now live.
I altered my course and decided to link the gallery image to the corresponding section in my site. I install this plugin http://wordpress.org/plugins/wp-gallery-custom-links/ and insert this code:add_filter(‘avf_avia_builder_gallery_image_link’, ‘avia_change_gallery_thumbnail_link’, 10, 4);
function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta)
{
$custom_url = get_post_meta($attachment->ID, ‘_gallery_link_url’, true);
if(!empty($custom_url))
{
$link[0] = $custom_url;
$link[‘custom_link_class’] = ‘aviaopeninbrowser’;
}
return $link;
}I added it into the functions.php by navigating Appearance / Editor / Templates and selecting Theme Functions (functions.php)
It added the tools correctly but when testing one of the images in the gallery it won’t link. Any suggestions?
August 18, 2017 at 8:28 pm #841019Never mind. I switched to the masonry gallery and got it to function as needed.
August 19, 2017 at 7:24 am #841173 -
AuthorPosts
- You must be logged in to reply to this topic.