View Full Version : Making the background of the day be the category color
brycematthews
01-03-2006, 03:04 PM
How can I make the day background color = the color of the category for the event and only have it span the color to support the width and heighth of the text description in TOC mode?
Brian
01-03-2006, 03:59 PM
Currently, in the TOC mode, it's only possible for the category color to be in the box to the left. (Additional template options will allow this in a future release some time in the first half of '06).
brycematthews
01-03-2006, 04:20 PM
thanks, brian! Can I make the little box bigger then? Perhaps it takes up the first line and then the description falls underneath kind of like a colored header?
Brian
01-03-2006, 04:32 PM
You may be able to, but it would require some manuall CSS editing...
1) Load your page in a web browser.
2) Search for the section similar to this one:
<style type="text/css">
<!--
.s22 {background-color: #A4CAE6;}
.s21 {background-color: #F2BFBF;}
.s23 {background-color: #CCFF00;}
.s24 {background-color: #FBF484;}
.s29999 {background-color: #FFC18A;}
-->
</style>3) Copy that and add it to the header of your page.
4) Remove the $CSS=1 section of code from your page.
5) Edit each of the CSS elements and add the appropriate table width element
6) View page in browser
(This is untested, but may do what you need)
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.