event list widget edit views / style

Home Forums Calendar Products Events Calendar PRO event list widget edit views / style

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1112271
    Pau
    Participant

    Dear TECPRO,

    I would like to know how can I change these views of the ‘Event List’ widget:
    http://217.199.187.196/chatspalace.com/eventualmente/

    (note, and tip for others: I’ve created 4 columns of 4 different filtered events categories, creating a grid)

    So it displays also the MONTH (on the grey box with day and day number); which I think it makes lots of sense

    and

    How can I edit text size and line height of the text below image (organizer and price)?
    AND, I would like to remove the word ‘Organiser’…

    Many thanks as usual

    (Im using a Divi theme)

    #1112304
    Geoff
    Member

    Hey Pau — nice to see you again and hope all is well!

    You can create a template override for this file:

    /wp-content/plugins/events-calendar-pro/src/views/widgets/modules/single-event.php

    Change this line:

    <span
    class="list-dayname"><?php echo apply_filters( 'tribe-mini_helper_tribe_events_ajax_list_dayname', date_i18n( 'D', $postDate ), $postDate, $mini_cal_event_atts['class'] ); ?></span>

    to this:

    <span
    class="list-dayname"><?php echo apply_filters( 'tribe-mini_helper_tribe_events_ajax_list_dayname', date_i18n( 'M', $postDate ), $postDate, $mini_cal_event_atts['class'] ); ?></span>

    I think we’ve covered template overrides together in the past but here’s a link to our Themer’s Guide just in case. That walks through the process in great detail.

    Will that work for you? Please let me know. 🙂

    Cheers,
    Geoff

    #1112608
    Pau
    Participant

    Thanks Geoff, all worked very well, just one thing
    the link to access the file to edit was:
    wp-content/plugins/events-calendar-pro/src/views/pro/widgets/modules
    not
    /wp-content/plugins/events-calendar-pro/src/views/widgets/modules/single-event.php

    does that makes sense?
    Many thanks

    #1112612
    Geoff
    Member

    Oh whoops, sorry about that! You are absolutely correct about the file path, but I’m super glad you were able to work through my typo. 🙂

    Cheers and have a great day!

    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘event list widget edit views / style’ is closed to new replies.