Try our conversational search powered by Generative AI!

Adding a css class to an image in the editor




I'm trying to get css classes to appear in the css dropdown in image properties.

I've used to method in the css file:


    EditMenuName: Right;

The class appears in the editor's css dropdown, but not the image property.

Any ideas anyone? I'm using Version 5 SP2.





Oct 30, 2008 19:00

you need to define img.right as class name. The only way EPiServer can make out where your class is applicable is by defining which type of element that is affected by the class.

img.something to get the "something" class to appear in image css classes, td.something to get it into table cell properties dropdown.


Oct 30, 2008 20:33
* 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.