[SOLVED] Calendar By Kieran O'Shea
This is a very nice simple js calendar that has activity catagories (ie., birthdays, group activites, holidays). I had it implemented in my site. However, when I place it in Atahualpa the colors are all overwritten by the default css.
Anyone know a way to work around this? Much thanks! |
can you post a link to the calendar download?
|
wordpress -- http://wordpress.org/extend/plugins/calendar/
download -- http://downloads.wordpress.org/plugi...ndar.1.2.2.zip homepage -- http://www.kieranoshea.com/projects/calendar/ thanks. |
the issue is that Atahualpa allows you to style your tables. This table level styling is overriding the styling in the calendar plugin. I've posted a query at the plugin's site to see how the plugin's author suggests having his CSS override the Atahualpa CSS (see http://www.kieranoshea.com/forum/vie...php?f=13&t=119)
|
Thanks for posting that to his site. Much clearer than I would have done.
|
Quote:
|
step 4 from the install
Quote:
|
make sure to include the brackets {CALENDAR}
|
Quote:
|
It looks like everything since 6/13 is missing, so it might have been a system problem/restore to last backup issue. I just wish I had kept a copy of the query...sigh
|
I'm having the devil of a time styling this thing too. I haven't even begun trying to make the big calendar conform to my wishes. The sidebar widget is giving me fits!
If you please, look at http://www.larchmontgazette.com in the left sidebar, down quite a ways. It is taking the UL styling I have elsewhere, so the bullet is a square. However, I don't want a square bullet next to each event, just the dates. I think it looks weird to have the indented bullets there. I cannot for the life of me get rid of those! |
I think I may have an idea that will work. If you edit the code in the plugin you could put an !important after each option. This should make this options override the theme options (calendar.php: lines 162-310) If you make the changes, make sure to check the ' Tick this box if you wish to reset the Calendar style to default'. this will reset the settings using the ones you have just edited into the code.
Here are the changes: HTML Code:
$initial_style = " .calnk a:hover { |
Excellent. I'll give this a try. Did you intent to day "make sure you don't check the Tick this box.....", ( make sure to check teh ' Tick this box) or (Tick this box, before you make the edits?).
Thanks. |
If you have already installed and activated the widget, you MUST reset the CSS after you make the code change to copy the new version of the CSS into the wp-options table. If you don't, you will still have the originals.
So, yes I did mean to say check the box so the defausts will be reset. You should only do this once. Remember, if you have already made any changes, copy them down before you reset the options so you can add them back in again. (you could just put the '!important' in every option in the dashboard->Calendar->Calendar Options->Configure the stylesheet for Calendar, but I thought this might be easier) |
You're thee man! It took quite a bit of tweaking, but eventually got what I needed. Thank you for the persistance on this. It saved my a good deal of time, so in turn I will make another donation..
|
All times are GMT -6. The time now is 12:55 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.