# Menu component theme

**URL:** <https://forum.radzen.com/t/menu-component-theme/3031>\
**Category:** Angular\
**Created:** [March 24, 2020, 12:28pm UTC](https://forum.radzen.com/t/menu-component-theme/3031 "2020-03-24T12:28:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![markb](https://forum.radzen.com/letter_avatar_proxy/v4/letter/m/a8b319/32.png) [@markb](https://forum.radzen.com/u/markb)\
**Post date:** [March 24, 2020, 12:28pm UTC](https://forum.radzen.com/t/menu-component-theme/3031/1 "2020-03-24T12:28:45Z")

</div>

Hi,

I'm trying to implement a custom theme and am struggling with finding the setting for the hover colour for the root item of a menu. If I have a menu with a root labelled "Navigation" and 2 of 3 child items beneath, the hover text of the child items seems to pick up the "Hover Color" set for Menu under the Customize theme option but, the hover colour for the root "Navigation" item always seems to default to #479cc8 when using the default theme.

Any pointers would be appreciated.

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [March 24, 2020, 4:46pm UTC](https://forum.radzen.com/t/menu-component-theme/3031/2 "2020-03-24T16:46:22Z")

</div>

Indeed this is a separate setting which isn't exposed in the Theme editor yet.

Just add this CSS to your styles.css file with the desired color:

```auto
.menu:not(.profile-menu) .navigation-item-wrapper:hover .navigation-item-link {
   color: green;
}

```

---

<div class="post-metadata">

**Author:** ![markb](https://forum.radzen.com/letter_avatar_proxy/v4/letter/m/a8b319/32.png) [@markb](https://forum.radzen.com/u/markb)\
**Post date:** [March 25, 2020, 9:42am UTC](https://forum.radzen.com/t/menu-component-theme/3031/3 "2020-03-25T09:42:07Z")

</div>

Hi - I've tried this and it works perfectly. Many thanks!

---

<div class="post-metadata">

**Author:** ![Andrey\_Ya](https://forum.radzen.com/user_avatar/forum.radzen.com/andrey_ya/32/12342_2.png) [@Andrey\_Ya](https://forum.radzen.com/u/Andrey_Ya)\
**Post date:** [August 18, 2023, 9:33am UTC](https://forum.radzen.com/t/menu-component-theme/3031/4 "2023-08-18T09:33:55Z")

</div>

Hi!

It's not work in newest version or may be only on my code.  
When I write this code in MainLayout.razor.css

```auto
.menu:not(.profile-menu) .navigation-item-wrapper:hover .navigation-item-link {
   color: green;
}

```

the color not changed

```auto
<RadzenLayout style="height: auto;">
    <RadzenHeader>
         <RadzenMenu Click="OnParentClicked">
            <RadzenMenuItem Text="General" Icon="home">
                <RadzenMenuItem Text="Buttons" Path="buttons" Icon="account_circle"></RadzenMenuItem>
                <RadzenMenuItem Text="Menu" Path="menu" Icon="line_weight"></RadzenMenuItem>
                <RadzenMenuItem Click="OnChildClicked" Text="ChildClick" Icon="attach_file"></RadzenMenuItem>
                <RadzenMenuItem Text="Dialog" Path="dialog" Icon="perm_media"></RadzenMenuItem>
                <RadzenMenuItem Text="Notification" Path="notification" Icon="announcement"></RadzenMenuItem>
            </RadzenMenuItem>
            <RadzenMenuItem Text="Inputs" Icon="payment">
                <RadzenMenuItem Text="CheckBox" Path="checkbox" Icon="check_circle"></RadzenMenuItem>
                <RadzenMenuItem Text="TextBox" Path="textbox" Icon="input"></RadzenMenuItem>
                <RadzenMenuItem Text="TextArea" Path="textarea" Icon="description"></RadzenMenuItem>
                <RadzenMenuItem Text="Password" Path="password" Icon="payment"></RadzenMenuItem>
                <RadzenMenuItem Text="Numeric" Path="numeric" Icon="aspect_ratio"></RadzenMenuItem>
                <RadzenMenuItem Text="DatePicker" Path="datepicker" Icon="date_range"></RadzenMenuItem>
            </RadzenMenuItem>
    </RadzenMenu>

```

How to change text color and background color of root items in ':hover'-event?  
Thanks.

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [August 18, 2023, 9:36am UTC](https://forum.radzen.com/t/menu-component-theme/3031/5 "2023-08-18T09:36:35Z")

</div>

This thread is for Angular. I suggest starting a new thread in the proper forum category.

---

<div class="post-metadata">

**Author:** ![Andrey\_Ya](https://forum.radzen.com/user_avatar/forum.radzen.com/andrey_ya/32/12342_2.png) [@Andrey\_Ya](https://forum.radzen.com/u/Andrey_Ya)\
**Post date:** [August 18, 2023, 9:40am UTC](https://forum.radzen.com/t/menu-component-theme/3031/6 "2023-08-18T09:40:20Z")

</div>

excuse me!!!!!!!!!!!!!!!!!!!!!
