My website is using master pages and for any custom skins that I am using, I am including the skins in the App_Themes folder, and setting the Theme page attribute to my custom theme name. This works great for content pages, however, I cannot set a custom skin on a RadSiteMap control inside the master page. I tried manually referencing the custom skin file and still doesn't work. Any advice on how to do this?
thanks,
Hector
thanks,
Hector
6 Answers, 1 is accepted
0
Hi Hector,
I tried to reproduce this issue but to no avail - the skin of the sitemap is loaded as expected. Could you please open a support ticket and send us a simple page demonstrating the problem? Thanks in advance
Greetings,
Yana
the Telerik team
I tried to reproduce this issue but to no avail - the skin of the sitemap is loaded as expected. Could you please open a support ticket and send us a simple page demonstrating the problem? Thanks in advance
Greetings,
Yana
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
0
Hector
Top achievements
Rank 1
answered on 07 Jul 2010, 01:56 PM
Yana, I got it to work by overriding a CSS property for the UL. My custom skin was being applied, however, there where still some settings from the WebResource.axd beign applied, and that is why I thought my skin was not being used. I wanted to center the site-map by applying text-align: center, but is was being overriddent. When I looked at firebug, I could see these settings from WebResource.axd on the RadSiteMap:
I could not override these settings, but I finally did by adding a css class to all the UL elements
.RadSiteMap .rsmFlow{ |
text-align: left; |
padding-bottom: 5px; |
} |
I could not override these settings, but I finally did by adding a css class to all the UL elements
UL { |
text-align: center |
} |
0
Hello Hector,
You can use "!important" css rule when you need to overwrite some css style.
Best regards,
Yana
the Telerik team
You can use "!important" css rule when you need to overwrite some css style.
Best regards,
Yana
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
0
Hector
Top achievements
Rank 1
answered on 07 Jul 2010, 03:51 PM
Yes, I tried that on my skin, but it was still not overriding the value, but it did work when I did it on the UL element.
UL { |
text-align: center !important; |
} |
0
Hi Hector,
I'm sorry I wasn't clear enough.
Could you please try it like this:
Let us know how it goes.
All the best,
Yana
the Telerik team
I'm sorry I wasn't clear enough.
Could you please try it like this:
.rsmList {
text-align
:
center
!important
; }
Let us know how it goes.
All the best,
Yana
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
0
Hector
Top achievements
Rank 1
answered on 08 Jul 2010, 02:19 PM
OK, thank you Yana. .rsmList class did not work, I had to set it to .rsmFlow and it works great now.
.rsmFlow
{
text-align
:
center
!important
;
}