Skin Styles

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 20 Apr 2009 Link to this post

    How can I override skin styles, I have custom skins, I take a std Skin and rename it and make small edits as required. I tell the control to use my skins by setting the enableembeddedskins to false and pointing the skin name to my skin.

    When I use Firebug to view the styles (so I can see which ones to change) a lot of stlyes are in the Webresource.axd file.  I cant seem to override them as they are the last styles to load and override mine.

    Andy
  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 20 Apr 2009 Link to this post

    Hello Andy,

    You should increase the specificity of the selectors in your skin stylesheet - the other CSS is a base stylesheet that provides the "defaults" for all skins; unfortunately, it gets appended to the <head> and therefore, gets loaded after your CSS.

    The simplest way would be to add a tag to the selectors, e.g. rewrite all .RadMenu_YourCustomSkin to div.RadMenu_YourCustomSkin.

    Best wishes,
    Alex
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top