Forum Replies Created
-
AuthorPosts
-
msiegle
ParticipantFigured it out.
msiegle
ParticipantHunter-
I found this bit of php code…
if ( function_exists( ‘tribe_is_event’) ) {
/**
* Modifying the thumbnail arguments in Month view tooltip from a filter.
*
* @link https://theeventscalendar.com/support/forums/topic/month-view-tooltip-image-size/
* @return array
*/
function change_tribe_json_tooltip_thumbnail( $json ) {
$event_id = get_the_ID();if ( ! empty( $json[‘imageTooltipSrc’] ) ) {
$thumb_id = get_post_thumbnail_id( $event_id );
$thumbnail_atts = wp_get_attachment_image_src( $thumb_id, ‘full’ );$json[‘imageTooltipSrc’] = $thumbnail_atts[0];
}return $json;
}add_filter( ‘tribe_events_template_data_array’, ‘change_tribe_json_tooltip_thumbnail’ );
}What I did was create a NEW functions.php, set it in my child theme and it worked like a charm. The tooltip is now full length.
Regards,
Michael
msiegle
ParticipantHunter-
I am still lost. I check out exactly what and where you pointed me to. But unfortunately, I have no experience with php. I am looking to just use css to style the tooltip.
Regards,
Michael
msiegle
ParticipantThx Hunter, thank you for your response. I will dig into this a lil deeper and will be back in touch.
Regards,
Mike
-
AuthorPosts
