how to style events list widget

Home Forums Calendar Products Events Calendar PRO how to style events list widget

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #83938
    boerup
    Participant

    I am using the ‘events list widget’ in the main area of my site.
    Basically, I would like to change the ‘events list widget’ look exactly like the photo view of ‘upcoming events’ on the regular events page. I have inserted the following code in list-widget.php in order for the widget to show images. However, it only show a small cropped thumbnail:

    <div>
    <?php if ( !(tribe_event_featured_image())) { echo ‘<div>' .  the_title() . '</div>’;} else { echo tribe_event_featured_image(null,’thumbnail’); } ?>
    </div>

    Where can I find the styling of the ‘events list widget’? How can I change it to look exactly like the photo view of ‘Upcoming events’ list on the main event page? I can’t seem to find the styling of this widget.

    I hope it makes sense and that you can help!
    Br, B

    #83939
    boerup
    Participant

    Wait!
    I can see that there is no default styling for this widget. Ok, fine, I’ll style it myself.
    My question is now: how can I show a bigger thumbnail instead of the cropped, small thumbnail which is currently showing from:
    tribe_event_featured_image(null,’thumbnail’);

    #83941
    boerup
    Participant

    Wait and wait!
    Instead of using ‘thumbnail’ I am now using ‘medium’ and that works as I want it to work:
    tribe_event_featured_image(null,’medium’);

    It has been nice talking to myself.
    Br, B

    #982862
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

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