Event Calendar Pro skinning

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
6/24/2009 10:27:51 AM
Gravatar
Total Posts 2253

Event Calendar Pro skinning

 I would like to customize the event style in the Month view of the Event Calendar Pro module but I can't seem to find any CSS selectors related to it. Viewing the source of the calendar shows the events with inline styles.

What can I do to change the way all of the events show up in the Month view of Event Calendar Pro?

Thanks,
Joe

6/24/2009 11:29:05 AM
Gravatar
Total Posts 18439

Re: Event Calendar Pro skinning

You can style the colors of the calendar using the mpdatacalendar.css file. Event colors are specified per event uisng the color picker.

The table that makes the calendar has the class mpcalendarmain

So you can make all kinds of selectors based on that, there are also classes on the td elements.

Most of the inline styles such as widths and borders is needed to make it possible for events to span accross days without interfering with other events.

Hope it helps,

Joe

3/1/2012 4:32:54 PM
Gravatar
Total Posts 22

Re: Event Calendar Pro skinning

I would like to modify the css controlling my event cal pro list view to fix some unwanted run on formatting.  Can't find any discussion on the forum that seems to speak to my needs, but I decided to post here where the mpdatacalendar.css file is reference.  Can't find file anywhere.

Running event cal pro 3.4.0.4 and current mp version

In my calendar list view I have something like:

line 1 - event name_event location alias (wrap to line 2)

line 2 - location alias cont._fee_register link

line 3 - date

line 4 - time

Thanks

3/1/2012 5:51:56 PM
Gravatar
Total Posts 2253

Re: Event Calendar Pro skinning

Hi Bob,

This is a very old thread you're responding to and the info in it is a little off. The mpdatacalendar.css file has since been renamed to styledatacalendar.css. You should be able to find what you need in that file.

HTH,
Joe D.

3/2/2012 6:49:11 AM
Gravatar
Total Posts 18439

Re: Event Calendar Pro skinning

Hi Bob,

styledatacalendar.css is for the Month view, I don't think it affects List View.

I'm not quite clear what you are trying to solve. You don't want it to wrap to a new line?

Best,

Joe

3/2/2012 8:26:04 AM
Gravatar
Total Posts 22

Re: Event Calendar Pro skinning

I have typed up how the event is listed in list view.  Each bit of information is run together.  No problem with the wrapping, but it's just a little hard to read this way. (italics used to show example)

Debt Cancellation Contracts and Debt Suspension Agreements Embassy Suites DFW Airport North
Outdoor World $1,000.00 Register for This Event
Tuesday, May 15, 2012
8:00 AM - 5:00 PM

Ideally it would look better presented like this:

Event Title: Debt Cancellation Contracts and Debt Suspension Agreements
Location: Embassy Suites DFW Airport North Outdoor World
Fee Per Person: $1,000.00
Date: Tuesday, May 15, 2012  8:00 AM - 5:00 PM
Register for This Event

I was just looking through the css for where / how i might be able to format this a bit.

Thanks

3/2/2012 8:46:16 AM
Gravatar
Total Posts 18439

Re: Event Calendar Pro skinning

Hi Bob,

If you're looking through the CSS you probably aren't going to find something but if you view the source of the rendered page you'll see there are ample CSS classes in the markup that could be used for selectors to style it as you would like.

Each event is wrapped in a div with class="vevent" so to make it italic you could use:

.vevent {font-style:italic; }

if you want the location to go on a new line

span.location {display:block; }

There are not labels existing like you have on the left of each thing like Event Title:

but there is a way you could do that from CSS that would work at least in some browsers like

.vevent a.summary:before { content:"Event Title: "; }

.vevent span.location:before { content: "Location: ";}

etc.

Hope that helps,

Joe

3/2/2012 2:22:28 PM
Gravatar
Total Posts 22

Re: Event Calendar Pro skinning

Success!  I thought I would post for future reference.  By adding the css classes to the style.css and a few tweaks of the listview.ascx, I have modified the event list view.

Thanks.

You must sign in to post in the forums. This thread is closed to new posts.