Support » Plugin: GDPR » Changing link text colors

  • Ate Up With Motor


    I don’t know if the developers are still responding at all, but I’m wondering if anyone has had any luck customizing the link colors via CSS. By default, the plugin sets the color of any links to #455561, which with a black background fails every contrast test.

    This post —
    — suggests ways to override the default style from your theme’s style.css.

    Here’s the problem: Both the banner and the Privacy Preferences Center window appear to use the same style for links. Therefore, if you change the link color to provide adequate contrast against the dark background of the modal banner, it will be way too light in the Privacy Preferences window. If you make it dark enough to provide adequate contrast for the latter, it’ll be too dark for the banner.

    Does anyone have any suggestions for fixing these? Ideally, I’d be able to style the link colors separately, but the gdpr-public.css code isn’t written that way and I don’t know how to fix that without hacking the plugin code.

    • This topic was modified 1 year ago by Ate Up With Motor. Reason: Rewrote this to better explain the issue
  • The topic ‘Changing link text colors’ is closed to new replies.