1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Customize css class in image properties

Customize css class in image properties

6 posts, 0 answered
  1. Raphael
    Raphael avatar
    5 posts
    Registered:
    08 Sep 2011
    08 Sep 2011
    Link to this post
    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
  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    08 Sep 2011
    Link to this post
    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
  3. Raphael
    Raphael avatar
    5 posts
    Registered:
    08 Sep 2011
    08 Sep 2011
    Link to this post
    Hi,
    thx for you reply
    I wan't to know how can I apply a css class to my image... 
    Raphael
  4. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    08 Sep 2011
    Link to this post
    Couple ways it seems

    Here's a quick video with puppies in it:
    http://screencast.com/t/BdRcei6re1U
  5. Raphael
    Raphael avatar
    5 posts
    Registered:
    08 Sep 2011
    08 Sep 2011
    Link to this post
    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

  6. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    08 Sep 2011
    Link to this post
    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)
6 posts, 0 answered