Home › Forums › Calendar Products › Events Calendar PRO › Sidebar formatting
- This topic has 18 replies, 2 voices, and was last updated 11 years, 2 months ago by Jonah.
-
AuthorPosts
-
February 1, 2013 at 10:46 am #31963YvonneParticipantFebruary 1, 2013 at 11:43 am #31978JonahParticipant
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
February 1, 2013 at 1:35 pm #31995YvonneParticipantFebruary 2, 2013 at 11:48 am #32023JonahParticipantYvonne, 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
February 2, 2013 at 6:12 pm #32027YvonneParticipantThis 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/OtrV5YeHYFebruary 4, 2013 at 8:54 am #32072JonahParticipantHi 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
February 4, 2013 at 10:55 am #32084YvonneParticipantTried to reinstall events calendar pro and this is what I get:
http://screencast.com/t/dW0YYsiDBFebruary 4, 2013 at 10:55 am #32085YvonneParticipantTried to reinstall events calendar pro and this is what I get:
http://screencast.com/t/dW0YYsiDB
Now I am totally frustrated.February 4, 2013 at 11:03 am #32087YvonneParticipantFebruary 4, 2013 at 11:09 am #32088YvonneParticipantI 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.
February 4, 2013 at 4:11 pm #32110JonahParticipantSounds good Yvonne, sorry to hear about the trouble.
– Jonah
February 5, 2013 at 5:44 pm #32176YvonneParticipantDid it!!! Thank you.
February 5, 2013 at 9:22 pm #32181JonahParticipantSweet, glad to hear. So are you all set here?
– Jonah
March 2, 2013 at 5:23 pm #41417YvonneParticipantAny chance to help me out with eliminating the blank lines?
http://screencast.com/t/tcQ1WLD8goMarch 2, 2013 at 7:13 pm #41419JonahParticipantSure, 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
-
AuthorPosts
- The topic ‘Sidebar formatting’ is closed to new replies.