This is a migrated thread and some comments may be shown as answers.

Custom css styles

1 Answer 40 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
onkar Agarwal
Top achievements
Rank 1
onkar Agarwal asked on 16 Apr 2010, 11:24 AM
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?


1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 16 Apr 2010, 02:24 PM
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.
Tags
WebParts for SharePoint
Asked by
onkar Agarwal
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or