Hi
My client would like to change the gallery so that the Title of the image shows below the image without having to rollover to see it (and eliminate the rollover).
Similar to the way that the titles are showing below the images on this page:
http://kriesi.at/themes/enfold/portfolio/portfolio-ajax/
Is this possible?
Thanks.
Hey Paul!
You can modify the gallery template – open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/gallery.php and replace:
$thumbs .= " <a href='".$link[0]."' data-rel='gallery-".self::$gallery."' data-prev-img='".$prev[0]."' {$class} data-onclick='{$counter}' title='".$description."' $markup_url><img {$tooltip} src='".$img[0]."' width='".$img[1]."' height='".$img[2]."' title='".$title."' alt='".$alt."' /></a>";
with
$thumbs .= " <a href='".$link[0]."' data-rel='gallery-".self::$gallery."' data-prev-img='".$prev[0]."' {$class} data-onclick='{$counter}' title='".$description."' $markup_url><img {$tooltip} src='".$img[0]."' width='".$img[1]."' height='".$img[2]."' title='".$title."' alt='".$alt."' /><span class='img-title'>".$title."</span></a>";
Maybe some additional css styling will be required but it’s a starting point.
Regards,
Peter
thanks dude.
i was poking around in that file, but couldn’t quite get it figured out.
appreciate your help.
best, paul