Welcome to Geeklog, Anonymous Friday, November 08 2024 @ 08:40 pm EST

Geeklog Forums

Upcoming events and font colors


Merci

Anonymous
curious
There doesn't seem to be an html template for the Upcoming Events Block. So I can't change the font colors for event day name and date on the block without hacking code. I'd like to comment out the function for Upcoming Events in lib-common and copy it to lib-custom. Then I'd like to add a class statement to the text in the block so I can change colors without touching code each time. Unfortunately, in the lib-common code for the Upcoming Event block the day name and date are being read into $retval like this:

Text Formatted Code
$retval .= '<br><b>' . $dayName1 . '<b> <small>' . $abbrDate1 . '</small>';

 


How can I add something like class="dayname" and class="date" to these statements so that they respond to the proper entry in the style.css file?
 Quote

All times are EST. The time is now 08:40 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content