diff --git a/web/profiles/custom/yalesites_profile/modules/custom/ys_links/css/ys_links.css b/web/profiles/custom/yalesites_profile/modules/custom/ys_links/css/ys_links.css index 93b77e9d09..16cea3ccef 100644 --- a/web/profiles/custom/yalesites_profile/modules/custom/ys_links/css/ys_links.css +++ b/web/profiles/custom/yalesites_profile/modules/custom/ys_links/css/ys_links.css @@ -73,3 +73,9 @@ a[class*="cta"].link--with-icon.ys_linked.link { table a.ys_linked.link { display: inline; } + +/* applying data attributes causes the hover color to change, but in a menu we +* don't do that. */ +li.primary-nav__item a.link--with-icon.ys_linked:hover { + color: var(--menu-link-color); +}