I have this problem with my master page where some pages need a CSS rule to behave one way, and some pages need a class rule to behave another way.
<div class="Content">
[ page place holder ]
</div>
For example, some pages want .Content to have a fixed width, and others do not. It's too late to move this down to the page level, so I'm trying to fix it on the master page for the time being but my knowledge of Kentico is too little at this point.
If Kentico wasn't in the picture, I might add a class to the body tag, something like <body class="<%=PageName%>" and then I could target the template classes differently on a page by page basis to style the rule the way I need it.
If Kentico wasn't in the picture, I might slap an if statement around the problem something like:
<% if X then %>
<div class="X Content">
<% else %>
<div class="Y Content">
<% end if %>
[ page place holder ]
</div>
There are lots of possibilites, but I'm not sure how to do anything like this in Kentico.
Any insight is appreciated. In the mean time, I'll experiment with jQuery adding the body class I guess.