Help Desk

List widget shows extra

  • Posts: 32 Topics: 28 Answers: 1
    | Permalink

    Hello,
    After installing and activating ECP 2.0.1, the list widget works as expected except for a one nit. With all widget options unchecked, the rendered event list has an extra blank line. html source reveals an unexpected:

    I don’t know if this is somehow related to my installation or whether it is a bug. Is there a specific file I can patch so that a cleaner list is rendered?

    Thanks, Andrew

    Posts: 32 Topics: 28 Answers: 1
    | Permalink

    …shows an extra ‘div’

    One more try at posting source code:

    
    
    
    Posts: 32 Topics: 28 Answers: 1
    | Permalink

    One more try. See source snippet at: http://pastebin.com/45RUwfkF

    Posts: 32 Topics: 28 Answers: 1
    | Permalink

    Never mind.

    It is not the empty div but the li.hentry style. Where ECP 1.x used zero padding, 2.0 uses 10px bottom padding. Simple fix is to define the li.hentry style in my child theme. Now the widget event list is nicely compact.

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Excellent to hear you figured this one out, Andrew – sorry that you had to do so on your own 🙂 If anything else arises going forward let us know and I’d be happy to look into it for you. Cheers!