Problem/Motivation

Links in the dark theme footer, lose their text-decroation:underline on hover.

Steps to reproduce

Edit /admin/appearance/settings/vh_bs5 And change footer theme to dark (light/white text...) and footer background is set to secondary. Click "Save Configuration". Looking at inspector, the text-decoration for the links is set to "none".

screenshot of inspector showing the footer.footer-dark a

When I redefine the $link-hover-decoration variable from null to "underline" it seems to have no impact. I recognize this is perhaps more of a support request than a bug. But I've been able to redefine other variables, but this one I'm not figuring out.

Comments

Jeana_with_a_j created an issue. See original summary.

tushar_sachdeva’s picture

Hi Jeana_with_a_j there is no need to redefine the $link-hover-decoration variable from null to "underline" as we are using mixin b5-make-link here in which argument that is passed is already null. If we want text-decoration: underline; just change that argument to underline in themes/custom/bootstrap5/scss/drupal/_footer.scss. For eg:

 &.footer-dark {
    @include b5-make-link($light, none, $light,underline);
  }

Thanks

tushar_sachdeva’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.