Kentico CMSCalendar SkinID

Leap Bot asked on March 25, 2015 00:58

Hi all,

I am trying to add in an events calendar on my site created from the Blank Site Template. When I added in the out of the box events calendar webpart, it does not look the same as the corporate site template. Upon researching, I found out that it was due to the SkinID property. However, even after adding the SkinID property, I cannot get the calendar layout to render.

Some other Information:

1) I have multiple style-sheets defined for the site (including desktop version, mobile, tablet etc.)

2) I have copied and added the CSS classes (from the corporate site) into my custom CSS stylesheets that define the calendar's styles (eg, day, header, weekend etc.)

3) I've added default.skin <cms:CMSCalendar Runat="server" SkinID="EventCalendar" ... as a theme to the stylesheet that define the calendar classes.

This however still does not work. Am I doing something wrong?

Recent Answers


Brenden Kehren answered on March 25, 2015 12:32

There's a good chance you are still missing a wrapper class of sorts on the calendar. You might check out the Corporate Site where it is implemented in HTML and compare that to your instance to find the difference. It could simply be the order in which all your stylesheets are being applied as well. Take a look through the developer tools of your browser and find out what styles, if any, are being applied and from what stylesheet.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.