Hi
I have put in the Events Calendar plugin and I have put in the Upcoming Events element from the Plugin Additions. Is it possible to change the styling of how it looks? For example, I would like to make the date look bigger, change text colours, etc.
many thanks
Peter
Hi envapk2!
Can you please post the link to your website and a screenshot showing the changes you would like to make? :)
Cheers!
Yigit
Hey!
Add this to your custom CSS.
.av-upcoming-event-data h4 {
font-size: 14px !important;
position: relative !important;
top: 23px !important;
} /* This is the title */
.av-upcoming-event-schedule {
font-size: 20px !important;
position: relative !important;
top: -20px !important;
} /* This is the date */
.av-upcoming-events {
background: none repeat scroll 0 0 #e1e1e1;
padding: 10px;
} /* This is the grey background */
Regards,
Elliott
Hi Elliott
That works great, thanks. Also, Is there a way to change the date format to lose the ‘@’? Perhaps replace with a dash, eg February 22 – 8.00pm
many thanks
Peter
Hey!
You can edit config-templatebuilder > avia-shortcodes > events_upcoming.php, look for this code on line 141:
$output .= "<span class='av-upcoming-event-schedule'>".tribe_events_event_schedule_details($entry)."</span>";
Replace it with:
$eventshed = tribe_events_event_schedule_details($entry);
$output .= "<span class='av-upcoming-event-schedule'>".str_replace('@', '-', $eventshed)."</span>";
Best regards,
Ismael
Thanks Ismael, that works perfectly.