add start and end time to month view under title

Home Forums Calendar Products Events Calendar PRO add start and end time to month view under title

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #1057180
    Brian
    Member

    Sorry my bad, my coding got messed up when coping.

    I added it again to that post and it is correct now.

    #1057181
    david
    Participant

    OK 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.
    #1057249
    david
    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

    #1057252
    david
    Participant

    my 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

    #1057494
    Brian
    Member

    You’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!

Viewing 5 posts - 16 through 20 (of 20 total)
  • The topic ‘add start and end time to month view under title’ is closed to new replies.