Skip to content

Events (Yosemite Theme)

x

Error message

  • Notice: Only variables should be passed by reference in include() (line 191 of sites/all/themes/UCMerced/templates/partials/_header.tpl.php).
  • Notice: Only variables should be passed by reference in include() (line 417 of sites/all/themes/UCMerced/templates/partials/_header.tpl.php).

Setting Up Events Styling

  • Navigate to the events view: [site name]/admin/structure/views/view/events/edit
  • Within the block view edit the first date field (month)
  • Under Style Settings click Customize field HTML
  • Click Create a CSS class and apply event_month
  • Apply the changes
  • Under Style Settings click Customize field HTML
  • Click Create a CSS class and apply event_day
  • Apply the changes
  • Next edit title and under Style Settings click Customize field HTML
  • In the HTML element dropdown select H3
  • Apply the changes
  • Edit the body field
  • If the body is not already in Plain text change the formatter
  • Under Rewrite Results click Trim this field to a maximum length
  • For Maximum length use 155
  • Apply the changes and save