Edit rad window skin problem

2 posts, 0 answers
  1. Covertix
    Covertix avatar
    96 posts
    Member since:
    Aug 2008

    Posted 08 Jun 2012 Link to this post

    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!

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5701 posts

    Posted 11 Jun 2012 Link to this post

    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.
Back to Top