WordPress.org

Ready to get started?Download WordPress

Forums

Event Organiser
More space between events in list widget? (3 posts)

  1. feytus
    Member
    Posted 2 years ago #

    This is probably an extremely simple thing to fix, but I looked in the widgetlist.php, and thought I'd ask here before I might destroy something. I basically just want like a line-break or some space between each event in my widget list. So that events display like this;

    Eddie Tambongo @ Sound of Mu, March 9th on March 9, 2012

    Phlu @ Sound of Mu on May 11, 2012

    instead of this;

    Eddie Tambongo @ Sound of Mu, March 9th on March 9, 2012
    Phlu @ Sound of Mu on May 11, 2012

    Check out how it looks on my site;

    http://www.marsmelons.com/wordpress/

    So yeah, anyone know the best way to do this? :)

    http://wordpress.org/extend/plugins/event-organiser/

  2. Stephen Harris
    Member
    Plugin Author

    Posted 2 years ago #

    I would do this with CSS. The event list widget contains a <ul> element with class 'eo-events-widget'. So you can target the margin around its child list element <li>. I've not tested this (and you may / may not need the !important), but in your style.css add:

    ul.eo-events-widget li {
        margin: 10px 0px!important;
    }

    Change the 10px to whatever you think looks best :)

  3. feytus
    Member
    Posted 2 years ago #

    Ah, that worked wonders! Thanks a lot, man, and thanks a lot for a great plugin (the only plugin I could find which fit all my website's needs just perfectly)! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic