Support » Plugin: Events Manager - Calendar, Bookings, Tickets, and more! » Setting the time/date column width in the widget?

  • Resolved tracian

    (@tracian)


    Hi,

    On my Divi-based site I am using a basic widget ( [events_list limit=”3″] ) to display upcoming events, but the date/time/location column only renders very narrow and with random line breaks, like this:

    4 Ott
    2020
    h. 15:00 – Milano
    20:00

    How can I style it so that it renders more sensibly, like:

    4 Ott 2020
    h. 15:00-20:00
    Milano

    ?

    Thank you for your kind help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    Hi,

    You can change the date format under events > settings > formatting > date/time and then you can also use other events placeholder from this documentation – https://wp-events-plugin.com/documentation/placeholders/

    Thread Starter tracian

    (@tracian)

    Hi,

    This is not about the date format, but about how it is rendered on the page (line lenght, etc.)

    Basically it is a line formatting issue.

    Any advice?

    Hello,

    Can you perhap send us a sample event link or page link? You can also format the page display by doing something like:

    [events_list limit=”3″]
    <div class=”event-block”>
    <h2>#_EVENTNAME</h2>
    <p>#_EVENTDATES – #_EVENTTIMES</p>
    </div>
    [/events_list]

    Thread Starter tracian

    (@tracian)

    Sure, you can see it live on https://www.ayzad.com/ in the “Next appearances” box.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    I tried the sample link above and it seems that the formatting according to your desired format?

    e.g.

    
    21 Oct 2020       Rebel Yell
    h. 0:00 - 2:00	
    28 Oct 2020
    h. 0:00 - 2:00	  Rebel Yell
    1 Nov 2020
    
    h. 15:00 - 20:00  Sadistique
                      Milano
    
    Thread Starter tracian

    (@tracian)

    Not really.
    As you can see from your sample, three items are displayed in three different ways – none of which is the desired one:

    D, M, Y Eventname
    h. (starting)-(ending)
    Location

    Plugin Support angelo_nwl

    (@angelo_nwl)

    You can try this custom events listing shortcode

    
    [events_list format_header="<table>" format_footer="</table>"]
    <tr>
     <td>
      #j #M #Y #_EVENTLINK
      h. #_24HSTARTTIME - #_24HENDTIME
      #_LOCATIONNAME
     </td>
     <td>
    
     </td>
    </tr>
    [/events_list]
    
    • This reply was modified 3 years, 4 months ago by angelo_nwl.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Setting the time/date column width in the widget?’ is closed to new replies.