The clock icon works great on the main Events page, but on the home page (http://ncg.wpengine.com/) there is a small section with two side by side events and the clock icon sits to the right of the date text. How can I break the clock span to the next line, just on the home page section? I’ve tried all that I know and nothing has worked.
The right event looks like the clock icon breaks to the second line but it’s actually only that way because of the width of the date text itself. Here’s what the left event looks like: http://cl.ly/image/2q3G1r1O2w3h
It turns out that if the the datetime has a name it will automatically add a line break. You can change the code to always put a line break there though. If you open up EEH-Event_View.helper.php and look at line 196 you’ll see this:
Along with that, you can copy over the entire espresso_list_of_event_dates() function to a site functionality plugin or your theme’s functions.php file and it will load from there.
THANKS JOSH! Worked like a charm. Great advice moving it over to the functions.php file.
Viewing 3 reply threads
The support post ‘Need clock icon to break to next line???’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.