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

Change forecolor and fontsize

1 Answer 289 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Kjell
Top achievements
Rank 1
Iron
Kjell asked on 11 Mar 2016, 07:00 PM

I use RenderMode="Auto" and Skin="Bootstrap"
And i use DataSource....

Hove Change forecolor and fontsize on telerik:RadMenu?

 

This work with RenderMode="default", but not RenderMode="Auto"?

        .RadMenu_Bootstrap .rmRootGroup .rmText {
            color: red !important;
        }

1 Answer, 1 is accepted

Sort by
0
Magdalena
Telerik team
answered on 14 Mar 2016, 08:49 AM
Hello Kjell,

Resolved render mode of RenderMode="auto" on desktop devices is lightweight and for the RenderMode="default" is classic.

The followiong CSS will overwrite opur inbuilt rules for text color for lightwieght render mode:
html .RadMenu_Bootstrap .rmRootGroup .rmRootLink {
    color: red;
}

It is not necessary to use !important, you can make selector stronger by adding html forward.

Regards,
Magdalena
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Menu
Asked by
Kjell
Top achievements
Rank 1
Iron
Answers by
Magdalena
Telerik team
Share this question
or