PDA

View Full Version : Time in the footer


Andy365
03-06-2009, 11:19 PM
Is it possible to change the color of the "time" in the footer element? I tried adding a style to the tag, but that didn't work. It only changed the "All times are GMT -5. The time now is ____ ." (Red is what changed, the underlined time element stayed).

I tried wrapping it in a div from the additional CSS that I made, but that didn't work out either.

the time is the same color as my background, and I'd like to change it, without changing the color of all times throughout the forum.

calorie
03-06-2009, 11:31 PM
Edit the all_times_are_gmt_x_time_now_is_y phrase by removing the span:

All times are GMT{1}. The time now is <span class="time">{2}</span>.

Andy365
03-07-2009, 12:11 AM
My default footer template (3.8.1) has this code instead of a span:


<div class="smallfont" align="center"> $vbphrase[all_times_are_gmt_x_time_now_is_y]</div>

If I take out the class, it only makes the entire line bigger, and the time color stays. (I tried making a new class in the extra CSS but that didn't work.)

--------------- Added 1236408349 at 1236408349 ---------------

Figured it out from another forum. Had to change this in the Admin Control Panel/Languages & Phrases/Search in Phrases. Then searched for "all_times_are_gmt_x_time_now_is_y" (Phrase Variable Name only). Then added the code calorie suggested above.