Support » Plugin: GDPR » Changing link text colors

  • Ate Up With Motor

    (@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 —
    https://wordpress.org/support/topic/change-colors-and-css-of-the-button-etc/
    — 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 3 months ago by Ate Up With Motor. Reason: Rewrote this to better explain the issue
  • You must be logged in to reply to this topic.