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

[Solved] Telerik Grid and Nav Menu uses same css style

1 Answer 26 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mahendran
Top achievements
Rank 1
Mahendran asked on 31 May 2012, 05:28 PM
This is the issue that I am having in my .net MVC application. I am using Telerik for my Menu and Grid. Both components using t-link class. When I hover on menu item, the background color changes in the menu and similarly when I hover on Grid Column names, back ground color changes. Users do not want Background color change in Grid but they want in Menu. Also they want the text color of Grid Header to change when hover but not in Menu Items. Is there anyway I can tackle this issue?

Thanks 
MG

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 01 Jun 2012, 01:17 PM
Hello Mahendran,

You can override the CSS rules for the Grid simply by creating a rule for that page which has higher priority for the Grid component:
.t-grid th.t-header .t-state-hover {
    background:none;
    color: #f00;
}

I hope this helps.

Regards,
Petur Subev
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
Grid
Asked by
Mahendran
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or