Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #278208

    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://www.kriesi.at/themes/enfold/portfolio/portfolio-ajax/

    Is this possible?

    Thanks.

    #278517

    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

    #278680

    thanks dude.

    i was poking around in that file, but couldn’t quite get it figured out.

    appreciate your help.

    best, paul

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Making Title Visible on Gallery (without rollover)’ is closed to new replies.