Change the Flyout Menu Arrow Hover Color in SharePoint

This is small, but gets me all of the time. When you are working with the Global Navigation (a.k.a. Top Nav Bar) in SharePoint and you are using 2 levels of flyout menus, the arrow that appears for the second level of items may show the wrong background color when you hover over the item or arrow.

As you start to alter the various colors and styles in the menu code, the background color behind the arrow does not reflect your changes or seem to pick up any styles from parent elements. Here is an example of this happening.


By default, the SharePoint menu code in the master page manually specifies a color for this hover effect:



You don't have to replace the color or specify a style, just delete the property and your colors will shine through.



This does require edits to the master page, there is no CSS class specified, so you can't change this with CSS only.

Comments

Popular posts from this blog

Adding Contact Selector Control to InfoPath form

Adding Validation to a Custom NewForm.aspx in SharePoint & Redirect

How to add to Sub-Sub Menu in SharePoint