Forum Replies Created
-
AuthorPosts
-
July 19, 2013 at 2:38 pm in reply to: Cannot find the CSS file to modify the Widget for Event List #56163
snorton
ParticipantHey bodin, the space simply signifies multiple classes applied to the same tag (one class is entry-title and the other is summary).
Sorry for jumping in this post, but I’ve been hovering around this forum for a while looking for answers and enjoy putting in my two cents when I can.
snorton
ParticipantJonah,
The advanced template settings I’m referring to are a part of your plugin, lol, and can be found under the display tab from the settings page (the Advanced Template Settings heading on that tab has two html editors for before/after event content html).
snorton
ParticipantYou can call the featured image from an event with the tribe_event_featured_image() template tag. If you add this to your widget file (make a copy and place in [your theme]/tribe-events/widgets/list-widget.php), and add this tag where you want the image to appear. styling is advised as the default will call the full image size.
My implementation, for example, will conditionally display the featured image in its thumbnail size if a featured image has been set, otherwise it displays a placeholder image (organization logo) to maintain the integrity of the layout design.
You can get more details on this function here:
http://docs.tri.be/Events-Calendar/function-tribe_event_featured_image.htmlsnorton
ParticipantCynthia, on the events calendar (month view), your body is missing the events classes that will address your concern with the event title in the grid.
I, too, had this problem arise as it has something to do with the theme not calling body_class() in the header.php file.
The specific classes you need in the body tag to address your padding issue is:
‘events-archive events-gridview’snorton
ParticipantHm, thanks for pointing out that very obvious oversight. I’m not sure why I was passing the post id two different ways, but using just $post makes it work fine now. thanks.
snorton
ParticipantThanks, Leah.
-
AuthorPosts
