PDA

View Full Version : Minor customizations


hotwired
11-18-2005, 08:12 AM
Hi
I am looking to make it so that either a horizontal rule OR a noticeable space occurs between events on the same day OR maybe each event is a different color. Also I'd like there to be some cellpadding for the event but NOT the date. Notice I have cellpadding but it also pushes the date row at the top of each cell in.

Frankly, if you look at www.bootleggerstavern.com/bootleg-calendar.php the events are all squashed together.

I got rid of those annoying little colored boxes for the categories. I know they served the purpose of marking where each separate event began but frankly they took up too much room, were somewhat confusing visually and frankly very unnattractive. Having gotten rid of them, I need a new solution as explained above, either a line, space or different colored text. any ideas?? OH! If anyone else wants to get rid of the little hideous colored boxes just open up themes/categories/categories.css and find

.s21 {
background-color: #(color);

}

and change it to

.s21 {
background-color: #ffffff;
display: none;

}

If you never added categories in the first place, you will only have to do it to the first one, but if you added, say 5 categories you'll have to do it to all. I suppose maybe now that I think about it I might be able to use a css hack to make these work as horizontal rules or spaces??

hotwired
11-18-2005, 09:18 AM
Well
I;'ve managed to edit the categories.css file to display a little blue ball next to each event on the calendar vs. nothing or a colored box by doing this: (for each category you have)

.s21 {
background-image: url(bullet.gif);
background-repeat: no-repeat;
padding: 2px;
width: 2px;
line-height: 3px;
margin-right: 1px;
vertical-align: bottom;


}
Obviously you need a "bullet.gif". Now the problem is that the line height and width attributes are screwing up the onclick popup. the popup is calling for categories.css and I'd just as soon it didn't - how can I remove that?? Thanks again!!

hotwired
11-18-2005, 09:27 AM
Well
I crudely handled the popup by putting this

.s21, .s22, .223, .s24, .s25 {
display: none;
}
in the popup.css and also esstyle.css under the popup section. It's crude because it's simply "negating" or "over riding" the categories.css, whatever comes last gets used sort of thing. Now check out
www.bootleggerstavern.com/bootleg-calendar.php
the blue ball serves as a nice marker, though it would be nice if what broke was indented instead of all the way over, and the popup has no categories.css fouling things up.

hotwired
11-18-2005, 09:51 AM
But what I didn't realize is that it wipes out the title. The display: non; makes it so that the title text dissappears as well as the blue balls. Wellp, onward.

Brian
11-18-2005, 10:23 AM
FWIW, the next major release will have a new template system so this would be much easier to do (for those that would want to). :)

[Also, the categories.css is no longer used in more recent releases.]

harveyk
12-21-2005, 04:21 PM
Hello, beautiful piece of software, but still pretty tough as far as I can tell to modify the design. (I just installed a few hours ago). When will the new version with templates be available?

Brian
12-21-2005, 05:41 PM
The next major version is planned for release in 2006 (and hopefully the first half).

Please start a new thread with your questions about what you want to modify and we'll be glad to help. :)