Carrie ([info]carriep63) wrote in [info]everything_lj,
Hide the brackets in your date/time display

  • This does not work well with transparent entry boxes unless there is a (mostly) solid color in the background behind it!

  • This is for the [s1]Generator style only.

  • This tutorial is not neccessary if you are using the Date below Subject override!



1. Step One
The first step is to match the color of your date/time to the color of your table background.
Put the following override in your GLOBAL_HEAD overrides (between your style tags), using whatever color you have decided on. This will render the entire date/time invisible:


.entrybox td.index {
color: yourcolor;
}




2.Step Two
The second step is putting the color back where you want it. The bonus to this step is you can also change your date/time to say whatever you want it to say. (There is a tutorial on that found here in the [info]howto journal.) this override does not belong inside of your GLOBAL_HEAD. Above it or below it will be fine. I am going to put a span tag in the override and use the color that I want my words to be.


LASTN_DATE_FORMAT=><span style="color:yourcolor;">%%dayshort%%, %%monlong%% %%dth%%, %%yyyy%% @ %%12h%%:%%min%%%%ampm%%</span>


That's it! No more brackets! Updated 04/09/2007

Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…