Tagged: image, Lightbox, team member
-
AuthorPosts
-
February 4, 2016 at 11:03 am #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 SoltnerFebruary 8, 2016 at 4:39 am #579323Hi 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,
RikardFebruary 8, 2016 at 12:22 pm #579527Hi 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,
SoltnerFebruary 9, 2016 at 6:07 am #580131Hi,
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,
RikardFebruary 9, 2016 at 10:45 am #580263Hi,
here a screenshot what i mean:
https://dl.dropboxusercontent.com/u/4900424/kriesi/Bildschirmfoto%202016-02-09%20um%2009.35.51.png
https://dl.dropboxusercontent.com/u/4900424/kriesi/Bildschirmfoto%202016-02-09%20um%2009.37.41.pngmissing photo caption:
https://dl.dropboxusercontent.com/u/4900424/kriesi/Bildschirmfoto%202016-02-09%20um%2009.35.08.pngBest regards,
SoltnerFebruary 11, 2016 at 7:23 am #581458Hi!
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,
IsmaelFebruary 11, 2016 at 11:16 am #581539Hi Ismael,
great :-) is working as desired!
There’s also a way to make this change in the child-theme functions.php?Regards,
SoltnerFebruary 12, 2016 at 10:52 am #582137Hey!
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,
IsmaelFebruary 12, 2016 at 11:49 am #582165Hi,
ok – thanks a lot for your help!Regards,
SoltnerFebruary 13, 2016 at 1:02 pm #582697Hi!
Glad we could assist you with this :)
If you have more questions please feel free to get in touch with us.Regards,
Vinay Kashyap -
AuthorPosts
- The topic ‘Team Member image insteat social icon, Image caption is not displayed’ is closed to new replies.