|
Quotes |
" ... I want to tell you that your thyme product is functional and valuable beyond
words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."
" ... Thanks for such a complete project, its making my job much easier. ..."
" ... I have now deployed 4 different calendars and our users love them ... "
" ... Easy to install and use and a great look/design. ..."
" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."
|
|
| View previous topic :: View next topic |
| Author |
Message |
gopaddle
Joined: 28 Sep 2006 Posts: 3
|
Posted: Sun Oct 01, 2006 2:36 pm Post subject: Confused with modifying themes |
|
|
Hi
I am having a crack at creating a custom theme but am a bit confused with the whole file structure. I have done the easy stuff and got my theme up and running but only seem to be able to modify stuff by trial and error. I can't decipher which bit of the .css affects which bit of the theme. For example, on my calendar
www.go-paddle.co.uk/calendars
As an example, for the event view i would like to get rid of the bottom calendar selection and navigation bars. I also want to change the colour of all the bars on this view. The only way I have managed to change colours so far is to use a colour picker to determine the code of the original colour and then search for that colour code in the style file and replace each occurence on a trial and error basis to see what effect it has. This is time consuming and I would prefer to have a greater understanding of the style file and be able to comment the file for any changes in the future.
Can anyone help? |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Sun Oct 01, 2006 4:19 pm Post subject: |
|
|
Hi,
The theme mostly affects color and not layout. To get rid of the footer and the navigation bars, you would have to edit index.php. You can do:
$_SESSION['hide_nav'] = 1;
to hide the navigation bars in the php file. Also, search for print_footer to find where it prints the footer and comment the line out by adding a # in front of it.
Which bars would you like to change the color of? |
|
| Back to top |
|
 |
gopaddle
Joined: 28 Sep 2006 Posts: 3
|
Posted: Sun Oct 01, 2006 8:24 pm Post subject: Changing colours |
|
|
Hi Ian
As you can see from my site I've had a bit of a crack but it isn't quite right.
The Day,Week and Month view I'm reasonably happy with (although I'm toying with the idea of changing the red side bars to grey, the main rows to white and the dividing lines to red).
The year view is fine.
My main problem is with the event view, I want to get rid of the bottom navigation bars (the green and blue ones), keep the top ones but change their colour and border colour. I want the event bar to be in white not red.
My main problem is that it I work out how to change the colour of one view only to find it has changed the colour of another.
It would be helpful if the style files were organised by view with more comments in them, although this is probably just me not understanding how the style system works. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Sun Oct 01, 2006 9:35 pm Post subject: |
|
|
Hi,
You can not get rid of the bottom bars without modifying the source. If you want, PM me your e-mail address and I will send you a file with this change made.
To change the event color use:
#cal div.eventlist td.row_header { background: #ffffff; }
It's not just your misunderstanding, they could be better organized. I apologize. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|