Customize css class in image properties

Posted by Community Admin on 04-Aug-2018 10:48

Customize css class in image properties

All Replies

Posted by Community Admin on 08-Sep-2011 00:00

Hi,

Sorry for my english...

In the text editor, when you insert an image, you can click on image properties...

In these properties, you have a list which named : css class

How can I add an item?

I searched a long time, but all response are about sitefinity 3.x

Thanxxxx

Posted by Community Admin on 08-Sep-2011 00:00

Hi Raphael,
  Do you mean how do you link in a .css stylesheet or how do you apply a css class to the image?

Steve

Posted by Community Admin on 08-Sep-2011 00:00

Hi,
thx for you reply
I wan't to know how can I apply a css class to my image... 
Raphael

Posted by Community Admin on 08-Sep-2011 00:00

Couple ways it seems

Here's a quick video with puppies in it:
http://screencast.com/t/BdRcei6re1U

Posted by Community Admin on 08-Sep-2011 00:00

Thx, 
But, I want the second solution, but with a "css class" list not empty.
This is for a person who knows nothing about htmlI wish an easy way for it...
:D

Posted by Community Admin on 08-Sep-2011 00:00

Okie dokie my friend, here's what you can try

1) Define the ToolsFile for your editor
2) Add in the classes to the ToolsFile (see bottom)

Should be good to go

**NOTE** Have not tried this in the context of sitefinity...but a RadEditor is a RadEditor right (I do have a custom tools file, but I have not set the CSS classes)

This thread is closed