WordPress.org

Ready to get started?Download WordPress

Forums

Events Calendar
Add Linebreak to Widget Display (4 posts)

  1. rbladzik
    Member
    Posted 2 years ago #

    I've inserted the widget/php code for the events list on my home page, but the event listing extends past my layout. I'd like to add a line break in between the date and the name of the event. Is there an easy way to do this?

    http://wordpress.org/extend/plugins/events-calendar/

  2. snumb130
    Member
    Plugin Author

    Posted 2 years ago #

    I am not exactly sure what you mean. Not sure which part needs line break. Can you send me a screenshot or the address to site. You can post it here or use the contact form on my site.

  3. rbladzik
    Member
    Posted 2 years ago #

    The site is http://www.hollyorc.org. I put your widget, bottom center, and I like the functionality.

    I adjusted my CSS sizing and the single line fits within my design. However, I anticipate events with longer titles in the future

    I simply want to put a line break in between the date and the event title, so that each entry is two lines.

  4. snumb130
    Member
    Plugin Author

    Posted 2 years ago #

    File: ec_calendar.class.php
    Line: 160

    Change:
    . $event->eventTitle . '</a>';
    To:
    . '<br />' . $event->eventTitle . '</a>';

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic