View Full Version : Bold typeface for dates with events
Toby Wallis
01-02-2006, 08:21 PM
What do I have to modify to make dates with an event show in Bold type? If there's a choice, I only want to do this in demo.php, but if that's too complicated then I'm happy to do it throughout. I can't find the appropriate CSS entries - maybe they're created dynamically according to categories or something?
All help appreciated -
===Toby===
ve9gra
01-02-2006, 10:16 PM
As long as your categories are all setup, here's the few steps you can use to acheive this.
Remove the $OL section in your page and view the source code of your page with the calendar, save that code. Then re-add the $OL and view the new code. Save the difference between the two. You'll see the CSS used for the categories (.s2X - where X is the category number). Just replace the $OL section with the bit of code that it generated. Then you can modify each of the .s2X to add the bold to it.
The .s29999 is the CSS used for when there's multiple events on the same day.
Hope this helps.
Brian
01-02-2006, 10:20 PM
I think ve9gra meant $CSS in each place he said $OL. :D
ve9gra
01-03-2006, 08:31 AM
<homer's voice>Doh!!!</homer's voice>
Toby Wallis
01-14-2006, 06:33 PM
Gosh - thanks, but I don't think I understand what you said there...
Remove the $OL section in your page and view the source code of your page with the calendar, save that code. Then re-add the $OL and view the new code. Save the difference between the two. You'll see the CSS used for the categories (.s2X - where X is the category number). Just replace the $OL section with the bit of code that it generated. Then you can modify each of the .s2X to add the bold to it.
ve9gra
01-15-2006, 09:28 AM
If you view the source code of your page once displayed in your browser (open browser, go to page, view source code) twice, once with the $CSS section there, and one with it removed, you'll see what exactly the $CSS gives you... You're going to copy that bit of code that's different and replace the $CSS section. Then you can modify that bit of code.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.