Sidebar formatting

Home Forums Calendar Products Events Calendar PRO Sidebar formatting

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #31963
    Yvonne
    Participant
    #31978
    Jonah
    Participant

    Hi Yvonne,

    Make a copy of /wp-content/plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php and place in an ‘events’ folder in your theme. Then find lines 50 & 52 and remove the br tags.

    Does that help?

    – Jonah

    #31995
    Yvonne
    Participant
    #32023
    Jonah
    Participant

    Yvonne, had you already modified /wp-content/plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php? Line 50 should look like this:

    echo ' –
    '. tribe_get_end_date($post->ID);

    Line 52 should look like this:

    echo ' –
    '. tribe_get_end_date($post->ID, false, 'g:i a');

    If you had made any changes to the file those lines would be in different places so just try to find them. All you need to do is remove the br tags so for example the line 50 code would end up looking like:

    echo ' – '. tribe_get_end_date($post->ID);

    Does that help?

    – Jonah

    #32027
    Yvonne
    Participant

    This is what I had
    http://screencast.com/t/QKosdkfBQRYG
    This is what I did removed the
    http://screencast.com/t/ufWbtW18YaOX
    This is what I got in my sidebar
    http://screencast.com/t/OtrV5YeHY

    #32072
    Jonah
    Participant

    Hi Yvonne,

    You must have removed something else or it got removed for you in your editor. Please try again by getting a fresh copy of the file in /wp-content/plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php – and make sure you are not editing this copy and rather editing a copy placed in an ‘events’ folder in your theme.

    – Jonah

    #32084
    Yvonne
    Participant

    Tried to reinstall events calendar pro and this is what I get:
    http://screencast.com/t/dW0YYsiDB

    #32085
    Yvonne
    Participant

    Tried to reinstall events calendar pro and this is what I get:
    http://screencast.com/t/dW0YYsiDB
    Now I am totally frustrated.

    #32087
    Yvonne
    Participant
    #32088
    Yvonne
    Participant

    I finally got it installed again. Will start again with your recommendation to remove the BR Tags on line 50 and 52. Will let you know.

    #32110
    Jonah
    Participant

    Sounds good Yvonne, sorry to hear about the trouble.

    – Jonah

    #32176
    Yvonne
    Participant

    Did it!!! Thank you.

    #32181
    Jonah
    Participant

    Sweet, glad to hear. So are you all set here?

    – Jonah

    #41417
    Yvonne
    Participant

    Any chance to help me out with eliminating the blank lines?
    http://screencast.com/t/tcQ1WLD8go

    #41419
    Jonah
    Participant

    Sure, you just need to modify your CSS. Your theme is adding padding to divs in the sidebar with this:

    .widget div {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    }

    You can remove that with the following:

    .eventsAdvancedListWidget.widget div {
    padding-bottom: 0;
    padding-top: 0;
    }

    I hope that helps!

    – Jonah

Viewing 15 posts - 1 through 15 (of 19 total)
  • The topic ‘Sidebar formatting’ is closed to new replies.