Hey @lpltech2 thanks for reaching out, it appears the issue relates to the inclusion of inline styling on the events title. To assist with the troubleshooting, would you please confirm if you are dynamically adding this to the event titles as well as how the events show up from events view under Sugar Calendar » Events?
Thanks for the response. There has been no css added anywhere. The event consists of the the event title (e.g. “Thanksgiving”) and the a small description (“day of thanks”)
Thanks. I did your suggested actions, disable all plugins and changed theme. It appears the theme is the cause. Currently Astra is being used which is extremely popular and I’ve gone down the road with it a bit. I also cleared the custom css file (no effect). Note that I did install, de-install, install sugar calendar and also tried the event calendar at one point. I’m not sure if there are any code artifacts. Is there a possible next step?
Found the issue. I added code in functions.php to add date with post title. This apparently has wide spread effects. code:
/* add date to post title */ function my_add_date_to_title($title, $id) {
// Check if we're in the loop or not
// This should exclude menu items
if ( !is_admin() && in_the_loop() ) {
// First get the default date format
// Alternatively, you can specify your
// own date format instead
$date_format = get_option('date_format');
// Now get the date
$date = get_the_date($date_format, $id); // Should return a string
// Now put our string together and return it
// You can of course tweak the markup here if you want
$title .= '<span style="font-size:small; margin-left:3em;">(' . $date . ')</span>';
//$title .= $date;
}
// Now return the string
return $title;
}
// Hook our function to the ‘the_title’ filter // Note the last arg: we specify ‘2’ because we want the filter // to pass us both the title AND the ID to our function add_filter(‘the_title’,’my_add_date_to_title’,10,2);