Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > Customizations (Themes / Templates)

Customizations (Themes / Templates) Help with customizing the themes and templates. Post your own custom themes for others to enjoy.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Bold dates for event days ..
Old 11-06-2008, 06:06 PM   #1
keelyak
Calendar User
 
keelyak is offline
Join Date: Nov 2008
Posts: 6
Default Bold dates for event days ..

Hi!

There is probably a simple solution to this that I'm overlooking, but I've scoured the forum for an answer and tried various things with CSS and in the calendar's control panel.

How do I make the the date bold for event days in normal calendar mode?

I know you can change the background color for event days through the calendar control panel, but I can't figure out how to change the font weight.

Other than that--Easy PHP Calendar is awesome! Big props to the authors.

Thanks for your time.

I'm sure I'll have more questions for y'all in the future.
 

Old 11-06-2008, 06:28 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

You probably would've kept looking for quite a while... it's not available from the default way of doing things.

If you're not expecting to change any of your categories, then the fix is as follows:

- determine what the output of the $CSS line is and save that somewhere
- remove the $CSS line from your file
- replace the $CSS line with what you saved earlier
- modify each .s2X class by adding "text-weight: bold;"

Note that if at a later point you add a category, or decide to change the color of an existing category, the changes will not take effect until you go through this procedure again.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 11-06-2008, 07:10 PM   #3
keelyak
Calendar User
 
keelyak is offline
Join Date: Nov 2008
Posts: 6
Default

Ah. Figured it out!
Thanks for your help.
 

Old 11-10-2008, 06:18 PM   #4
oneofayykind
Calendar User
 
oneofayykind is offline
Join Date: Nov 2008
Posts: 2
Default

Could someone go into a little more detail here? I would like to make the event days text different than the other days...maybe make it bold plus make it a different color. Could someone walk me through this?
 

Old 11-10-2008, 06:20 PM   #5
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

All the details are in post #2.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 11-11-2008, 06:06 PM   #6
keelyak
Calendar User
 
keelyak is offline
Join Date: Nov 2008
Posts: 6
Default

Pretty sure this is the gist of what ve9gra said; step by step:

I used my browser to "view page source" for the page with my calendar. That way I could see what sort of class/ID tag the event dates were given with when EPC generates its table.

For my calendar (I only have one category) all event dates were given the class ".s21". So I edited my essstyle.css file to include:

Code:
.s21 {font-weight: bolder;
    color: #000000;
    border: 0px;
    background-color: ;
    background-image:   url("caldot.png");}
From there, you can use CSS to do whatever the heck you want with the event day display. I made a little image of a "dot" so the date now appears in a yellow circle.

I don't have a variety of categories, but I imagine if you did .. they'd each get a .sSOMETHING class, and you'd modify all of those in essstyle.css to appear how you'd like them to.

Hope that helped.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I exclude dates from a range? MetalMarky General 1 10-21-2008 10:51 AM
Events spanning days & multiple occurrences on site prazim General 2 09-05-2008 07:23 PM
Bold typeface for dates with events Toby Wallis Customizations (Themes / Templates) 5 01-15-2006 08:28 AM
Multiple Dates incorrect BigG General Support 3 06-20-2005 03:50 PM



All times are GMT -4. The time now is 02:49 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |