Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #577680

    Hi,
    i used the “Team Member” Module with an image instead of an social icon and Image caption is not displayed,
    is there a way to fix this?

    Sorry my bad english,
    Regards Soltner

    #579323

    Hi soltner,

    That is as expected, using the Team Member element will display the information you have filled out for that team member when hovering it.

    Regards,
    Rikard

    #579527

    Hi Rikard,
    ok, i know that – but i insert the image-path in the “Icon-Link” field to be able to see the image in a lighbox –
    there’s no way to display the caption in the lightbox?

    Regards,
    Soltner

    #580131

    Hi,

    I’m not sure what you mean by that, the images will open in a lightbox if you click the looking glass icon which appears when hovering, or maybe I am misunderstanding you? I’m looking at the page in private.

    Best regards,
    Rikard

    #580263
    #581458

    Hi!

    Please modify the config-templatebuilder > avia-shortcodes > team.php file. Look for this code around line 349:

    $output.= "<a rel='v:url' {$tooltip} {$target} class='{$social_class} avia-team-icon ' href='".$social['attr']['link']."' {$display_char}>";
    								$output.= "</a>";
    

    .. replace it with:

    $output.= "<a rel='v:url' {$tooltip} {$target} class='{$social_class} avia-team-icon ' title='".$social['attr']['title']."' href='".$social['attr']['link']."' {$display_char}>";
    

    You have to add the title in the icon’s “Hover Text” field.

    Best regards,
    Ismael

    #581539

    Hi Ismael,
    great :-) is working as desired!
    There’s also a way to make this change in the child-theme functions.php?

    Regards,
    Soltner

    #582137

    Hey!

    I’m sorry but you can’t override the shortcode on a child theme. You will have to do this modification every time you update the theme. Please create a note or a change log of the modification.

    Best regards,
    Ismael

    #582165

    Hi,
    ok – thanks a lot for your help!

    Regards,
    Soltner

    #582697

    Hi!

    Glad we could assist you with this :)
    If you have more questions please feel free to get in touch with us.

    Regards,
    Vinay Kashyap

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

The topic ‘Team Member image insteat social icon, Image caption is not displayed’ is closed to new replies.