Change "ChildrenCssClass" Programmatically

Vote:
 

Hi guys,

Can you override the "ChildrenCssClass" property easily? I have a content area where the user can drag in blocks that all float to the left. The last item on the row I would like to add the class "last" to (to float right). How would I do this easily?

Thanks,
Chris

#76541
Oct 28, 2013 13:57
Vote:
 

In the end I created a custom "ContentArea" model to override the creation of sub controls and I check each block to see if it's the last one in the set. If so, I add an extra CSS class :-) Not too hard in the end.

#76554
Oct 28, 2013 19:20
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.