Custom css styles

2 posts, 0 answers
  1. onkar Agarwal
    onkar Agarwal avatar
    9 posts
    Member since:
    Jan 2010

    Posted 16 Apr 2010 Link to this post

    hi I have created  a css file in which folllowing entries are there for css
    .red
    {
        font-size:14px;
        color: ffcccc;
        background-color:#000000;
    }
    .blue
    {
        font-size:15px;
        font-weight:bold;
        text-decoration: blink;
        color:#ccffff;
        background-color:#3366ff;
    }
    .majorcrisis
    {
        font-size:15px;
        font-weight:bold;
        text-decoration: blink;
        color:#ccffff;
        background-color:#000000;
    }

    I modified the toolsfile.xml file with the following entries
    <classes>
       <class name="Clear Class" value="" />
       <class name="No Crisis  Style" value=".red" />
       <class name="Minor Crisis  Style" value=".blue" />
         <class name="Major Crisis Style" value=".majorcrisis" />
     </classes>
     <cssFiles>
     <item name="/_wpresources/RadEditorSharePoint/5.6.2.0__1f131a624888eeed/Resources/ExternalCssFiles/CrisisComm.css"  />
     </cssFiles>

    here when I check my page in sharepoint only red and blue but not the majorcrisis.If I change the name of "blue" or "red" css to any other name it doesnot work.Why is it happening so?


  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 16 Apr 2010 Link to this post

    Hi Agarwal,

    First make sure that CrisisComm.css is loaded in the page when it is in presentation mode. Second make sure that CrisisComm.css is not cached in the browse's cache.


    Greetings,
    Stanimir
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

Back to Top