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

[Solved] Can't change CSS in Menu

3 Answers 111 Views
Menu
This is a migrated thread and some comments may be shown as answers.
phianhduong
Top achievements
Rank 1
phianhduong asked on 31 Jul 2009, 04:43 AM
Hi.
I have project with menu control telerik.
i do some well but when i customer css in skin so it dont work.
I do not change file css
i use skin SkyBlue with menu.

1. file aspx:
  <asp:ScriptManager ID="Scriptmanager1" runat="server">
            </asp:ScriptManager>
            <telerik:RadMenu ID="RadMenu1" runat="server" Flow="Vertical" Skin="SkyBlue">
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                <DataBindings>
                    <telerik:RadMenuItemBinding TextField="TenTheLoai" />
                </DataBindings>
            </telerik:RadMenu>

please help me..
thanks

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 31 Jul 2009, 11:26 AM
Hi  Nguyen,

Please explain in more details about the issue you're experiencing and send us a live url where we can observe it.

Best wishes,
Yana
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.
0
phianhduong
Top achievements
Rank 1
answered on 01 Aug 2009, 04:46 AM
I want to custormer my css file.
when i use  skin " Default" so it good, but i use skin " SkyBlue" so it dont work right.

Example: 
    skin  Default :
                   My Products leads
                   My Category leads
                   Trade alert
    skin   SkyBlue :
                  My Products leads
                         My Category leads
                           Trade alert
I think my css file have problem, I dont know Where i want to  change my css ?.

is Menu.SkyBlue.css ?. or what file css ?.

Please help me and thanks.


                         

0
Kamen Bundev
Telerik team
answered on 03 Aug 2009, 08:40 AM
Hello Phianhduong,

Yes, you should modify Menu.SkyBlue.css, but if you modify it, you should use it as an external skin disabling the internal ones. For more information, refer to this article:
http://www.telerik.com/help/aspnet-ajax/skinregistration.html

Alternatively you can override the skin directly on your page, but to do this you should raise the specificity of your selectors - e.g. if you want to override .RadMenu .rmLink, you should use div.RadMenu .rmLink at least. In this case you don't need external skins, only to include the file with the overrides (if it is not inline).

All the best,
Kamen Bundev
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
Menu
Asked by
phianhduong
Top achievements
Rank 1
Answers by
Yana
Telerik team
phianhduong
Top achievements
Rank 1
Kamen Bundev
Telerik team
Share this question
or