Home › Forums › Calendar Products › Events Calendar PRO › add start and end time to month view under title
- This topic has 19 replies, 2 voices, and was last updated 10 years, 3 months ago by
Brian.
-
AuthorPosts
-
January 16, 2016 at 8:16 am #1057180
Brian
MemberSorry my bad, my coding got messed up when coping.
I added it again to that post and it is correct now.
January 16, 2016 at 8:41 am #1057181david
ParticipantOK that seemed to work- on desktop and mobile- is there any way (sorry I hate to ask more questions after you gave me what I asked for) to move the font size down so that the time fits on 1 line- if not- fair enough
also if you go here http://kidsmagicworld.com.au/events/?reloaded=true and go back to december where there are many events you’ll see they don’t line up that well- should I add a <br> to the code somewhere to create a line break
I have taken most of jan off but most of the time there will be 2-3 events on sat and sun for example the 12th dec shows 3 events and each other event is slightly to the right- I hope that made sense- but thank you for your work- I can currently launch the calendar now and make it live which has been a stress, so thank you
this is what I currently have:
<div id="tribe-events-event-<?php echo esc_attr( $event_id ); ?>" class="<?php tribe_events_event_classes() ?>" data-tribejson='<?php echo esc_attr( tribe_events_template_data( $post ) ); ?>'> <h3 class="tribe-events-month-event-title"><a href="<?php echo esc_url( $link ) ?>" class="url"><?php echo $title ?></a></h3> <div class="duration"> <?php echo tribe_events_event_schedule_details(); ?> </div><!-- #tribe-events-event-# -->-
This reply was modified 10 years, 3 months ago by
david.
January 16, 2016 at 8:39 pm #1057249david
Participant<div id="tribe-events-event-<?php echo esc_attr( $event_id ); ?>" class="<?php tribe_events_event_classes() ?>" data-tribejson='<?php echo esc_attr( tribe_events_template_data( $post ) ); ?>'> <h3 class="tribe-events-month-event-title"><a href="<?php echo esc_url( $link ) ?>" class="url"><?php echo $title ?></a></h3> <div class="duration"> <h6><?php echo tribe_events_event_schedule_details(); ?></h6> </div><br><!-- #tribe-events-event-# -->I got the size I want happening so now it’s just to keep the events under each other instead of being slightly to the right
January 16, 2016 at 8:59 pm #1057252david
Participantmy error I didn’t add a
</div>so the right working script is
?>
<div id="tribe-events-event-<?php echo esc_attr( $event_id ); ?>" class="<?php tribe_events_event_classes() ?>" data-tribejson='<?php echo esc_attr( tribe_events_template_data( $post ) ); ?>'> <h3 class="tribe-events-month-event-title"><a href="<?php echo esc_url( $link ) ?>" class="url"><?php echo $title ?></a></h3> <div class="duration"> <h5><?php echo tribe_events_event_schedule_details(); ?></h5>................ </div> </div><!-- #tribe-events-event-# -->I didn’t add the last /div tag in which was causing the problem- all fixed now thank you sooooo much for your help
January 17, 2016 at 6:53 am #1057494Brian
MemberYou’re Welcome
I am glad to see you were able to figure it out.
I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket.
Thanks!
-
This reply was modified 10 years, 3 months ago by
-
AuthorPosts
- The topic ‘add start and end time to month view under title’ is closed to new replies.
