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

Skin Styles

1 Answer 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 20 Apr 2009, 07:55 AM
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

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 20 Apr 2009, 08:33 AM
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.
Tags
General Discussions
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Alex Gyoshev
Telerik team
Share this question
or