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

Edit rad window skin problem

1 Answer 27 Views
Window
This is a migrated thread and some comments may be shown as answers.
Covertix
Top achievements
Rank 1
Covertix asked on 08 Jun 2012, 11:07 AM
Hi,

I am using telerik Gray skin for rad window.
I am trying to edit the skin and change colors, background images etc.
My problem is that I create a css class with the same name as the control has, but it seems like my class is canceled and the original one is taken.

I attached print screen to explain the problem clearer.
my css is Covertix.css, but the properties are taken from the WebResource.axd file.
my class in the .css file is:

DIV.radwindow_Gray TABLE TD.topleft

{

background-image: url(Images/Design/Window/PopupTitle_Left.png);

height: 23px;

}



Can you please tell me what am I doing wrong?
Thanks a lot!

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 11 Jun 2012, 12:09 PM
Hi Tzach,

You can add the !important modifier to make your own selectors heavier. The general rule when overriding CSS properties is that you need to make your own selector heavier than the original, and this is one way to do so.


Regards,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Window
Asked by
Covertix
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or