Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 11:15 am EDT

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 EDT. The time is now 11:15 am.

  • 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